<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:17:10 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git update-index</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Plumbing_Commands">
                                Plumbing Commands                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="f41d8942d94c2b865a3ebee27e37a0ba7dccf28b7fff57a14a59632b6481e556/43" data-source="git-update-index" onmousemove="i18n(this)">git-update-index</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="7477294e647d77a902cc7188657e62e9d774649e62bba6f47045e020043ca1d2/0f" data-source="git-update-index - Register file contents in the working tree to the index" onmousemove="i18n(this)">git-update-index &mdash; &zcy;&acy;&rcy;&iecy;&gcy;&icy;&scy;&tcy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &fcy;&acy;&jcy;&lcy;&acy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-css">git update-index
             <span class="hljs-selector-attr">[--add]</span> <span class="hljs-selector-attr">[--remove | --force-remove]</span> <span class="hljs-selector-attr">[--replace]</span>
             <span class="hljs-selector-attr">[--refresh]</span> <span class="hljs-selector-attr">[-q]</span> <span class="hljs-selector-attr">[--unmerged]</span> <span class="hljs-selector-attr">[--ignore-missing]</span>
             <span class="hljs-selector-attr">[(--cacheinfo &lt;mode&gt;,&lt;object&gt;,&lt;file&gt;)&hellip;&ZeroWidthSpace;]</span>
             <span class="hljs-selector-attr">[--chmod=(+|-)x]</span>
             <span class="hljs-selector-attr">[--[no-]</span>assume-unchanged]
             <span class="hljs-selector-attr">[--[no-]</span>skip-worktree]
             <span class="hljs-selector-attr">[--[no-]</span>ignore-skip-worktree-entries]
             <span class="hljs-selector-attr">[--[no-]</span>fsmonitor-valid]
             <span class="hljs-selector-attr">[--ignore-submodules]</span>
             <span class="hljs-selector-attr">[--[no-]</span>split-index]
             <span class="hljs-selector-attr">[--[no-|test-|force-]</span>untracked-cache]
             <span class="hljs-selector-attr">[--[no-]</span>fsmonitor]
             <span class="hljs-selector-attr">[--really-refresh]</span> <span class="hljs-selector-attr">[--unresolve]</span> <span class="hljs-selector-attr">[--again | -g]</span>
             <span class="hljs-selector-attr">[--info-only]</span> <span class="hljs-selector-attr">[--index-info]</span>
             <span class="hljs-selector-attr">[-z]</span> <span class="hljs-selector-attr">[--stdin]</span> <span class="hljs-selector-attr">[--index-version &lt;n&gt;]</span>
             <span class="hljs-selector-attr">[--verbose]</span>
             <span class="hljs-selector-attr">[--]</span> <span class="hljs-selector-attr">[&lt;file&gt;&hellip;&ZeroWidthSpace;]</span></pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="9758bf56e1d3f5d32bf8b25dfa63abf73e0ed97a7c58e2a46aff1e69d9c98909/24" data-source="Modifies the index. Each file mentioned is updated into the index and any &lt;code&gt;unmerged&lt;/code&gt; or &lt;code&gt;needs updating&lt;/code&gt; state is cleared." onmousemove="i18n(this)">&Icy;&zcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;. &Kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &ucy;&pcy;&ocy;&mcy;&yacy;&ncy;&ucy;&tcy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;, &icy; &lcy;&yucy;&bcy;&ocy;&iecy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&iecy;  <code>unmerged</code>  &icy;&lcy;&icy;  <code>needs updating</code>  &ocy;&chcy;&icy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy;.</span></p> <p><span data-i18n="c398d1c9194966fe2a6b2e3ad05e4427d612149709069c4ee22ffb88ee5cacbe/51" data-source="See also &lt;a href=&quot;git-add&quot;&gt;git-add[1]&lt;/a&gt; for a more user-friendly way to do some of the most common operations on the index." onmousemove="i18n(this)">&Scy;&mcy;. &tcy;&acy;&kcy;&zhcy;&iecy;  <a href="git-add.html">git-add[1]</a> , &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&zcy;&ncy;&acy;&tcy;&softcy; &ocy; &bcy;&ocy;&lcy;&iecy;&iecy; &ucy;&dcy;&ocy;&bcy;&ncy;&ocy;&mcy; &dcy;&lcy;&yacy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ncy;&acy;&icy;&bcy;&ocy;&lcy;&iecy;&iecy; &rcy;&acy;&scy;&pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&iecy;&ncy;&ncy;&ycy;&khcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&jcy; &scy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ocy;&mcy;.</span></p> <p><span data-i18n="624c9320008ec41f7fdea7e10355b1d663ff6b62e106c3738da623c9f9b3618c/01" data-source="The way &lt;code&gt;git update-index&lt;/code&gt; handles files it is told about can be modified using the various options:" onmousemove="i18n(this)">&Scy;&pcy;&ocy;&scy;&ocy;&bcy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&icy;  <code>git update-index</code>  &fcy;&acy;&jcy;&lcy;&ocy;&vcy;, &ocy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ocy;&ncy; &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;, &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&ncy;&ycy;&khcy; &ocy;&pcy;&tscy;&icy;&jcy;:</span></p> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <dl> <dt id="Documentation/git-update-index.txt---add"><span data-i18n="1929ee811b071fd6da897471152979b36aa5b9486f9c8b2852910c68bbec48ae/49" data-source="--add" onmousemove="i18n(this)">--add</span></dt> <dd> <p><span data-i18n="3a58ce6c35d8a573bb7beff9c717c74bc95a1fbc2b6c1f83d2679df357839baf/13" data-source="If a specified file isn&amp;rsquo;t in the index already then it&amp;rsquo;s added. Default behaviour is to ignore new files." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy; &iecy;&shchcy;&iecy; &ncy;&iecy;&tcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;, &ocy;&ncy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;. &Pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &ncy;&ocy;&vcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---remove"><span data-i18n="0e184267b5536eb73613482c673992e5f736aba5f45b6322bdb5f545b8c0b5d7/df" data-source="--remove" onmousemove="i18n(this)">--remove</span></dt> <dd> <p><span data-i18n="ce14eb5f2bb3c45bb0f328449d9eb0459e5108b8c0b0361684b7a7dad65329f1/a0" data-source="If a specified file is in the index but is missing then it&amp;rsquo;s removed. Default behavior is to ignore removed files." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &pcy;&rcy;&icy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;, &ncy;&ocy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;, &ocy;&ncy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;. &Pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---refresh"><span data-i18n="a6d6ecebdbbbb2bf54a00053474e141799c356419f3feb04a5049dac11d05821/2b" data-source="--refresh" onmousemove="i18n(this)">--refresh</span></dt> <dd> <p><span data-i18n="3a2027b6bbb464eabdb7723267a8d8015f0ebddfed5a3adcc7d1d3a8c55997f8/35" data-source="Looks at the current index and checks to see if merges or updates are needed by checking stat() information." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&iecy;&tcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&icy;&jcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &icy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy;, &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ycy; &lcy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &icy;&lcy;&icy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;, &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&yacy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; stat().</span></p> </dd> <dt id="Documentation/git-update-index.txt--q"><span data-i18n="5ce681666a15a41274346f65b8bcbf56f8e8170ac00706a44a09ee4d786a8609/cd" data-source="-q" onmousemove="i18n(this)">-q</span></dt> <dd> <p><span data-i18n="f47ad972cfd352853cb33d7bbf0ce54a81f853e71b439452f937e6147b2692be/91" data-source="Quiet. If --refresh finds that the index needs an update, the default behavior is to error out. This option makes &lt;code&gt;git update-index&lt;/code&gt; continue anyway." onmousemove="i18n(this)">&Tcy;&icy;&khcy;&icy;&jcy;. &IEcy;&scy;&lcy;&icy; --refresh &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&tcy;, &chcy;&tcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &ncy;&ucy;&zhcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&icy;, &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &vcy;&ycy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &vcy;&scy;&iecy; &rcy;&acy;&vcy;&ncy;&ocy; &zcy;&acy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;  <code>git update-index</code>  &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&acy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---ignore-submodules"><span data-i18n="047d81189d57a557836d2bb7c17d15c80ed8b07e917f67eaf4e15af226e14cd3/0b" data-source="--ignore-submodules" onmousemove="i18n(this)">--ignore-submodules</span></dt> <dd> <p><span data-i18n="26840a6a2bb247aee8e77f5985b3f471e49474932f60f9abd5c2d5b75501eaf5/48" data-source="Do not try to update submodules. This option is only respected when passed before --refresh." onmousemove="i18n(this)">&Ncy;&iecy; &pcy;&ycy;&tcy;&acy;&jcy;&tcy;&iecy;&scy;&softcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy; &scy;&ucy;&bcy;&mcy;&ocy;&dcy;&ucy;&lcy;&icy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&acy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&ncy;&acy; &dcy;&ocy; --refresh.</span></p> </dd> <dt id="Documentation/git-update-index.txt---unmerged"><span data-i18n="5d8c8728519cab1b0010789a4bc185956853c28a84296ac1de866ffd742ddb81/25" data-source="--unmerged" onmousemove="i18n(this)">--unmerged</span></dt> <dd> <p><span data-i18n="5821c489e79592f7fe1f268347c5d1bec3f6a627a78d926eb30dcbc6cef3ab48/75" data-source="If --refresh finds unmerged changes in the index, the default behavior is to error out. This option makes &lt;code&gt;git update-index&lt;/code&gt; continue anyway." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; --refresh &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &ncy;&iecy;&scy;&lcy;&icy;&tcy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;, &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &vcy;&ycy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &vcy;&scy;&iecy; &rcy;&acy;&vcy;&ncy;&ocy; &zcy;&acy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;  <code>git update-index</code>  &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&acy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---ignore-missing"><span data-i18n="0217b7915f4f225197fd645c3d607ab59b296d34ceaaa7f8900ade128b0d4e29/32" data-source="--ignore-missing" onmousemove="i18n(this)">--ignore-missing</span></dt> <dd> <p><span data-i18n="213b5e368a16c3f51348407a25339b8fc6497efec57117102d99d7019e705e07/68" data-source="Ignores missing files during a --refresh" onmousemove="i18n(this)">&Icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; --refresh</span></p> </dd> <dt id="Documentation/git-update-index.txt---cacheinfoltmodegtltobjectgtltpathgt"><span data-i18n="3fc336b3b6d54fcba711016afc6ac8928754a71134c59e5d5540ec3b9752a9bd/de" data-source="--cacheinfo &amp;lt;mode&amp;gt;,&amp;lt;object&amp;gt;,&amp;lt;path&amp;gt;" onmousemove="i18n(this)">--cacheinfo &lt;mode&gt;,&lt;object&gt;,&lt;path&gt;</span></dt> <dt id="Documentation/git-update-index.txt---cacheinfoltmodegtltobjectgtltpathgt-1"><span data-i18n="ba3070c70b53f563315e7af2ed80a1ea23b61e6541fefd22a1edae2eaefabce9/24" data-source="--cacheinfo &amp;lt;mode&amp;gt; &amp;lt;object&amp;gt; &amp;lt;path&amp;gt;" onmousemove="i18n(this)">--cacheinfo &lt;&rcy;&iecy;&zhcy;&icy;&mcy;&gt; &lt;&ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&gt; &lt;&pcy;&ucy;&tcy;&softcy;&gt;</span></dt> <dd> <p><span data-i18n="9f8bea374e761e1fb1039ebfe7dab3ed19b68e1cc1eebc346f2bd077de69001f/c2" data-source="Directly insert the specified info into the index. For backward compatibility, you can also give these three arguments as three separate parameters, but new users are encouraged to use a single-parameter form." onmousemove="i18n(this)">&Ncy;&iecy;&pcy;&ocy;&scy;&rcy;&iecy;&dcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy; &vcy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;. &Dcy;&lcy;&yacy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy;&jcy; &scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &vcy;&ycy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &ecy;&tcy;&icy; &tcy;&rcy;&icy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&acy; &kcy;&acy;&kcy; &tcy;&rcy;&icy; &ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ycy;&khcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;, &ncy;&ocy; &ncy;&ocy;&vcy;&ycy;&mcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy;&mcy; &rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&ucy;&iecy;&tcy;&scy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &fcy;&ocy;&rcy;&mcy;&ucy; &scy; &ocy;&dcy;&ncy;&icy;&mcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&mcy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---index-info"><span data-i18n="bbd4d46c075723228942bb406e807cac0fcb359e236008be706ac99be5d8b8a6/f1" data-source="--index-info" onmousemove="i18n(this)">--index-info</span></dt> <dd> <p><span data-i18n="8c2535f304a52740ab6f876be510b4db8a9343e6b949b8ee80df440ed12bbc72/d2" data-source="Read index information from stdin." onmousemove="i18n(this)">&Scy;&chcy;&icy;&tcy;&acy;&jcy;&tcy;&iecy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy;&bcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy; &icy;&zcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&gcy;&ocy; &vcy;&vcy;&ocy;&dcy;&acy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---chmod-x"><span data-i18n="d1135515aec1241b65c76656cbe3d27f4e246c9a7ff6f858977e3ab1d6b91d92/14" data-source="--chmod=(+|-)x" onmousemove="i18n(this)">--chmod=(+|-)x</span></dt> <dd> <p><span data-i18n="60978f16e2098d98a6c7d5ac5677a37de3242c932662a2b1dc899a21a8067913/5b" data-source="Set the execute permissions on the updated files." onmousemove="i18n(this)">&Ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &pcy;&rcy;&acy;&vcy;&acy; &ncy;&acy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---no-assume-unchanged"><span data-i18n="c7a814ba0fa45dacb586bd8f6d755fe12cfc213b5a93b18aab61591be3463541/0c" data-source="--[no-]assume-unchanged" onmousemove="i18n(this)">--[no-]assume-unchanged</span></dt> <dd> <p><span data-i18n="013cd05a9d01b650be8b9bbc018c6f5e60dc38c865bbefa3c87f9d63b71c8b5f/ab" data-source="When this flag is specified, the object names recorded for the paths are not updated. Instead, this option sets/unsets the &amp;quot;assume unchanged&amp;quot; bit for the paths. When the &amp;quot;assume unchanged&amp;quot; bit is on, the user promises not to change the file and allows Git to assume that the working tree file matches what is recorded in the index. If you want to change the working tree file, you need to unset the bit to tell Git. This is sometimes helpful when working with a big project on a filesystem that has a very slow lstat(2) system call (e.g. cifs)." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &ecy;&tcy;&ocy;&tcy; &fcy;&lcy;&acy;&gcy;, &icy;&mcy;&iecy;&ncy;&acy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;, &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&iecy; &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy;, &ncy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;. &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy;/&scy;&bcy;&rcy;&acy;&scy;&ycy;&vcy;&acy;&iecy;&tcy; &bcy;&icy;&tcy;  &quot;assume unchanged&quot;  &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy;. &Kcy;&ocy;&gcy;&dcy;&acy; &bcy;&icy;&tcy;  &quot;assume unchanged&quot;  &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;, &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;  promises  &ncy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy; &icy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy;  Git  &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&tcy;&softcy;, &chcy;&tcy;&ocy; &fcy;&acy;&jcy;&lcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &tcy;&ocy;&mcy;&ucy;, &chcy;&tcy;&ocy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ocy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;. &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;, &vcy;&acy;&mcy; &ncy;&ucy;&zhcy;&ncy;&ocy; &scy;&bcy;&rcy;&ocy;&scy;&icy;&tcy;&softcy; &bcy;&icy;&tcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&ocy;&ocy;&bcy;&shchcy;&icy;&tcy;&softcy;  Git . &Icy;&ncy;&ocy;&gcy;&dcy;&acy; &ecy;&tcy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy; &pcy;&rcy;&icy; &rcy;&acy;&bcy;&ocy;&tcy;&iecy; &scy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&mcy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&ocy;&mcy; &vcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&iecy; &scy; &ocy;&chcy;&iecy;&ncy;&softcy; &mcy;&iecy;&dcy;&lcy;&iecy;&ncy;&ncy;&ycy;&mcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ncy;&ycy;&mcy; &vcy;&ycy;&zcy;&ocy;&vcy;&ocy;&mcy; lstat(2) (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, cifs).</span></p> <p><span data-i18n="656c23e7c2506185f902f64f6c5c215c6bfe5b9f117826141c899b2cdd026dc5/d6" data-source="Git will fail (gracefully) in case it needs to modify this file in the index e.g. when merging in a commit; thus, in case the assumed-untracked file is changed upstream, you will need to handle the situation manually." onmousemove="i18n(this)">Git  &pcy;&ocy;&tcy;&iecy;&rcy;&pcy;&icy;&tcy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ucy; (&kcy;&ocy;&rcy;&rcy;&iecy;&kcy;&tcy;&ncy;&ocy;) &vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &iecy;&mcy;&ucy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &ecy;&tcy;&ocy;&tcy; &fcy;&acy;&jcy;&lcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&rcy;&icy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&icy; &vcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&iecy;; &tcy;&acy;&kcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;, &iecy;&scy;&lcy;&icy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&mcy;&ycy;&jcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy; &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy; &kcy;&ocy;&dcy;&iecy;, &vcy;&acy;&mcy; &pcy;&rcy;&icy;&dcy;&iecy;&tcy;&scy;&yacy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &scy;&icy;&tcy;&ucy;&acy;&tscy;&icy;&yucy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---really-refresh"><span data-i18n="859b8a3b6fffe73a5b23ffaaac9120462eb5212f8b8e51f460d0ac83aa1f08d2/9e" data-source="--really-refresh" onmousemove="i18n(this)">--really-refresh</span></dt> <dd> <p><span data-i18n="ec141ae27331e6fca55fbcf1f3c3591c379a49d7b8327d68bf226f4cfda9f7b4/de" data-source="Like &lt;code&gt;--refresh&lt;/code&gt;, but checks stat information unconditionally, without regard to the &amp;quot;assume unchanged&amp;quot; setting." onmousemove="i18n(this)">&Acy;&ncy;&acy;&lcy;&ocy;&gcy;&icy;&chcy;&iecy;&ncy;  <code>--refresh</code> , &ncy;&ocy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy; &scy;&tcy;&acy;&tcy;&icy;&scy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &bcy;&iecy;&zcy;&ocy;&gcy;&ocy;&vcy;&ocy;&rcy;&ocy;&chcy;&ncy;&ocy;, &bcy;&iecy;&zcy; &ucy;&chcy;&iecy;&tcy;&acy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&icy;  &quot;assume unchanged&quot; .</span></p> </dd> <dt id="Documentation/git-update-index.txt---no-skip-worktree"><span data-i18n="a99ce4c62c8adfde19608b53bb620d06288334cf5bf1fd5ce92084ccde8d2329/22" data-source="--[no-]skip-worktree" onmousemove="i18n(this)">--[no-]skip-worktree</span></dt> <dd> <p><span data-i18n="28b71e2076641fbdd7df36b2d2bf217837d3c9a63d7afc007502fa73ceb22ffa/1b" data-source="When one of these flags is specified, the object names recorded for the paths are not updated. Instead, these options set and unset the &amp;quot;skip-worktree&amp;quot; bit for the paths. See section &amp;quot;Skip-worktree bit&amp;quot; below for more information." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &ocy;&dcy;&icy;&ncy; &icy;&zcy; &ecy;&tcy;&icy;&khcy; &fcy;&lcy;&acy;&gcy;&ocy;&vcy;, &icy;&mcy;&iecy;&ncy;&acy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;, &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&iecy; &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy;, &ncy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;. &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&yucy;&tcy; &icy; &scy;&ncy;&icy;&mcy;&acy;&yucy;&tcy; &bcy;&icy;&tcy;  &quot;skip-worktree&quot;  &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy;. &Dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &scy;&mcy;. &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  &quot;Skip-worktree bit&quot;  &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---no-ignore-skip-worktree-entries"><span data-i18n="ce6fbc14580546bf94812462c87b2978c0c2fee21a71a2e3cf386ae114b91a5b/42" data-source="--[no-]ignore-skip-worktree-entries" onmousemove="i18n(this)">--[no-]ignore-skip-worktree-entries</span></dt> <dd> <p><span data-i18n="75ba8b1de0e8d45d9b3a86328c87169226ed6a7465ef35d086387ac24f6b1c5d/3c" data-source="Do not remove skip-worktree (AKA &amp;quot;index-only&amp;quot;) entries even when the &lt;code&gt;--remove&lt;/code&gt; option was specified." onmousemove="i18n(this)">&Ncy;&iecy; &ucy;&dcy;&acy;&lcy;&yacy;&jcy;&tcy;&iecy; &zcy;&acy;&pcy;&icy;&scy;&icy; Skip-Worktree (AKA  &quot;index-only&quot; ), &dcy;&acy;&zhcy;&iecy; &iecy;&scy;&lcy;&icy; &bcy;&ycy;&lcy;&acy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&acy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--remove</code> .</span></p> </dd> <dt id="Documentation/git-update-index.txt---no-fsmonitor-valid"><span data-i18n="38e5d9a52ffbe6d312ba0b99db8e12acd677799d49935ff35f4199632ff7230b/23" data-source="--[no-]fsmonitor-valid" onmousemove="i18n(this)">--[no-]fsmonitor-valid</span></dt> <dd> <p><span data-i18n="3206247de3e26020567e1a0163ae06021cedfdc121c608fd40c9ae2ff2700dc1/23" data-source="When one of these flags is specified, the object names recorded for the paths are not updated. Instead, these options set and unset the &amp;quot;fsmonitor valid&amp;quot; bit for the paths. See section &amp;quot;File System Monitor&amp;quot; below for more information." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &ocy;&dcy;&icy;&ncy; &icy;&zcy; &ecy;&tcy;&icy;&khcy; &fcy;&lcy;&acy;&gcy;&ocy;&vcy;, &icy;&mcy;&iecy;&ncy;&acy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;, &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&iecy; &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy;, &ncy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;. &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&yucy;&tcy; &icy; &scy;&ncy;&icy;&mcy;&acy;&yucy;&tcy; &bcy;&icy;&tcy;  &quot;fsmonitor valid&quot;  &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy;. &Dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &scy;&mcy;. &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  &quot;File System Monitor&quot;  &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt--g"><span data-i18n="e34b6f1266cf79b5e6ed49b1038dbe26f8da6d09bb556143ca2e4fb0a4ad065c/06" data-source="-g" onmousemove="i18n(this)">-g</span></dt> <dt id="Documentation/git-update-index.txt---again"><span data-i18n="c1bb307e7d3a0ff7eaaaed40b19247c11796c2df568c63678ec5b9cb6dcf4d6a/ac" data-source="--again" onmousemove="i18n(this)">--again</span></dt> <dd> <p><span data-i18n="5d1bf62d7bada50a48bf6dfb1dcdc882119b313e3a84eba9533fb161735a7638/6f" data-source="Runs &lt;code&gt;git update-index&lt;/code&gt; itself on the paths whose index entries are different from those of the &lt;code&gt;HEAD&lt;/code&gt; commit." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;  <code>git update-index</code>  &pcy;&ocy; &pcy;&ucy;&tcy;&yacy;&mcy;, &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ycy;&iecy; &zcy;&acy;&pcy;&icy;&scy;&icy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ocy;&tcy;&lcy;&icy;&chcy;&acy;&yucy;&tcy;&scy;&yacy; &ocy;&tcy; &zcy;&acy;&pcy;&icy;&scy;&iecy;&jcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;  <code>HEAD</code> .</span></p> </dd> <dt id="Documentation/git-update-index.txt---unresolve"><span data-i18n="edde80a14226023010304c746085373ff07cd6e9bd3163af82e3b663e4d445ac/66" data-source="--unresolve" onmousemove="i18n(this)">--unresolve</span></dt> <dd> <p><span data-i18n="402de73c187417244d64840075ff181bcbdce7e4eebc7e2047d653a1837d11f5/d1" data-source="Restores the &lt;code&gt;unmerged&lt;/code&gt; or &lt;code&gt;needs updating&lt;/code&gt; state of a file during a merge if it was cleared by accident." onmousemove="i18n(this)">&Vcy;&ocy;&scy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&iecy;  <code>unmerged</code>  &icy;&lcy;&icy;  <code>needs updating</code>  &fcy;&acy;&jcy;&lcy;&acy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&ocy; &bcy;&ycy;&lcy;&ocy; &ocy;&chcy;&icy;&shchcy;&iecy;&ncy;&ocy; &scy;&lcy;&ucy;&chcy;&acy;&jcy;&ncy;&ocy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---info-only"><span data-i18n="8531b383383b1cb4ba1768fa4eb6e0758538f684504e21378491f3b109cc817f/3b" data-source="--info-only" onmousemove="i18n(this)">--info-only</span></dt> <dd> <p><span data-i18n="bcff9489350081122e69c801bc8652eaefd02db8141fea324c4116e0f928f47f/13" data-source="Do not create objects in the object database for all &amp;lt;file&amp;gt; arguments that follow this flag; just insert their object IDs into the index." onmousemove="i18n(this)">&Ncy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&jcy;&tcy;&iecy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ycy; &vcy; &bcy;&acy;&zcy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ocy;&vcy; &lt;file&gt;, &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &zcy;&acy; &ecy;&tcy;&icy;&mcy; &fcy;&lcy;&acy;&gcy;&ocy;&mcy;; &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &vcy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&ycy; &icy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---force-remove"><span data-i18n="d752429b936850faa8a4a290163052a16088ea2cfef4edd6781a83841f2f11ce/24" data-source="--force-remove" onmousemove="i18n(this)">--force-remove</span></dt> <dd> <p><span data-i18n="3a5e7ba86704511ca2238aee75b8886b5e69b9246ff2348ebcc84ad450bedc5d/2e" data-source="Remove the file from the index even when the working directory still has such a file. (Implies --remove.)" onmousemove="i18n(this)">&Ucy;&dcy;&acy;&lcy;&icy;&tcy;&iecy; &fcy;&acy;&jcy;&lcy; &icy;&zcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;, &dcy;&acy;&zhcy;&iecy; &iecy;&scy;&lcy;&icy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy; &iecy;&shchcy;&iecy; &iecy;&scy;&tcy;&softcy; &tcy;&acy;&kcy;&ocy;&jcy; &fcy;&acy;&jcy;&lcy;. (&Pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; --remove.)</span></p> </dd> <dt id="Documentation/git-update-index.txt---replace"><span data-i18n="457235334322e0b0492ba9f4886a1c1d2fb3d33f06dc0477f56cba66620142ca/94" data-source="--replace" onmousemove="i18n(this)">--replace</span></dt> <dd> <p><span data-i18n="27bac892b9963ec96b704e54d963b760b882d63e9836f27cce746f73a4cec7de/3c" data-source="By default, when a file &lt;code&gt;path&lt;/code&gt; exists in the index, &lt;code&gt;git update-index&lt;/code&gt; refuses an attempt to add &lt;code&gt;path/file&lt;/code&gt;. Similarly if a file &lt;code&gt;path/file&lt;/code&gt; exists, a file &lt;code&gt;path&lt;/code&gt; cannot be added. With --replace flag, existing entries that conflict with the entry being added are automatically removed with warning messages." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;, &kcy;&ocy;&gcy;&dcy;&acy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &fcy;&acy;&jcy;&lcy;  <code>path</code> ,  <code>git update-index</code>  &ocy;&tcy;&kcy;&lcy;&ocy;&ncy;&yacy;&iecy;&tcy; &pcy;&ocy;&pcy;&ycy;&tcy;&kcy;&ucy; &dcy;&ocy;&bcy;&acy;&vcy;&icy;&tcy;&softcy;  <code>path/file</code> . &Acy;&ncy;&acy;&lcy;&ocy;&gcy;&icy;&chcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; &fcy;&acy;&jcy;&lcy;  <code>path/file</code>  &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;, &fcy;&acy;&jcy;&lcy;  <code>path</code>  &dcy;&ocy;&bcy;&acy;&vcy;&icy;&tcy;&softcy; &ncy;&iecy;&vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;. &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &fcy;&lcy;&acy;&gcy;&acy; --replace &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &zcy;&acy;&pcy;&icy;&scy;&icy;, &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ucy;&yucy;&shchcy;&icy;&iecy; &scy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&mcy;&ocy;&jcy; &zcy;&acy;&pcy;&icy;&scy;&softcy;&yucy;, &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &scy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&acy;&yucy;&shchcy;&icy;&mcy;&icy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;&mcy;&icy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---stdin"><span data-i18n="06cc2377ccb785d93fd1515e188ca4dfe8c83def25a0c91bd36731a3b50c77f2/d9" data-source="--stdin" onmousemove="i18n(this)">--stdin</span></dt> <dd> <p><span data-i18n="9dd720fd69829dd0650b38d3aa268f37f0675327720fd5eaf6e315392e402e8c/fa" data-source="Instead of taking a list of paths from the command line, read a list of paths from the standard input. Paths are separated by LF (i.e. one path per line) by default." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &bcy;&rcy;&acy;&tcy;&softcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &pcy;&ucy;&tcy;&iecy;&jcy; &icy;&zcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;, &pcy;&rcy;&ocy;&chcy;&icy;&tcy;&acy;&jcy;&tcy;&iecy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &pcy;&ucy;&tcy;&iecy;&jcy; &icy;&zcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&gcy;&ocy; &vcy;&vcy;&ocy;&dcy;&acy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&ucy;&tcy;&icy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; LF (&tcy;.&iecy;. &ocy;&dcy;&icy;&ncy; &pcy;&ucy;&tcy;&softcy; &vcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;).</span></p> </dd> <dt id="Documentation/git-update-index.txt---verbose"><span data-i18n="bff1e8d3adf9e53481e9b21876983b359dc8a231bf7ebadde36a42dd7bd4db5c/93" data-source="--verbose" onmousemove="i18n(this)">--verbose</span></dt> <dd> <p><span data-i18n="1a954f9a7bf5661b8c401533df5f981df2218346a9fe879cd3eadba696753d0f/ad" data-source="Report what is being added and removed from the index." onmousemove="i18n(this)">&Scy;&ocy;&ocy;&bcy;&shchcy;&acy;&jcy;&tcy;&iecy;, &chcy;&tcy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy;&zcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---index-versionltngt"><span data-i18n="48631984bffd80cd54fcc2b12ccd1ae9ed736b8b64731bffa7e88b9fbf96e9a1/39" data-source="--index-version &amp;lt;n&amp;gt;" onmousemove="i18n(this)">--index-version &lt;n&gt;</span></dt> <dd> <p><span data-i18n="1a67e92dfef87a55a6fca23639c9a89d3d23d34729fa4bf7a3b524be3b4c7b73/55" data-source="Write the resulting index out in the named on-disk format version. Supported versions are 2, 3, and 4. The current default version is 2 or 3, depending on whether extra features are used, such as &lt;code&gt;git add -N&lt;/code&gt;. With &lt;code&gt;--verbose&lt;/code&gt;, also report the version the index file uses before and after this command." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ycy;&jcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &vcy; &ncy;&acy;&zcy;&vcy;&acy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&rcy;&scy;&icy;&icy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&acy; &ncy;&acy; &dcy;&icy;&scy;&kcy;&iecy;. &Pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&icy;: 2, 3 &icy; 4. &Tcy;&iecy;&kcy;&ucy;&shchcy;&acy;&yacy; &vcy;&iecy;&rcy;&scy;&icy;&yacy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash; 2 &icy;&lcy;&icy; 3, &vcy; &zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &ocy;&tcy; &tcy;&ocy;&gcy;&ocy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy;&scy;&yacy; &lcy;&icy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&icy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  <code>git add -N</code> . &Scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>--verbose</code>  &tcy;&acy;&kcy;&zhcy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&icy;&tcy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&yucy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ucy;&yucy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &dcy;&ocy; &icy; &pcy;&ocy;&scy;&lcy;&iecy; &ecy;&tcy;&ocy;&jcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;.</span></p> <p><span data-i18n="46ef08254c5b8ce4e816c9bb2abd855471ff015bee90f1d1c07970ee72991d33/88" data-source="Version 4 performs a simple pathname compression that reduces index size by 30%-50% on large repositories, which results in faster load time. Git supports it since version 1.8.0, released in October 2012, and support for it was added to libgit2 in 2016 and to JGit in 2020. Older versions of this manual page called it &amp;quot;relatively young&amp;quot;, but it should be considered mature technology these days." onmousemove="i18n(this)">&Vcy;&iecy;&rcy;&scy;&icy;&yacy; 4 &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy;&iecy; &scy;&zhcy;&acy;&tcy;&icy;&iecy; &icy;&mcy;&iecy;&ncy; &pcy;&ucy;&tcy;&iecy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &ucy;&mcy;&iecy;&ncy;&softcy;&shcy;&acy;&iecy;&tcy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &ncy;&acy; 30&ndash;50&nbsp;% &vcy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&khcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;&khcy;, &chcy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&tcy; &kcy; &ucy;&scy;&kcy;&ocy;&rcy;&iecy;&ncy;&icy;&yucy; &zcy;&acy;&gcy;&rcy;&ucy;&zcy;&kcy;&icy;.  Git  &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &iecy;&gcy;&ocy;, &ncy;&acy;&chcy;&icy;&ncy;&acy;&yacy; &scy; &vcy;&iecy;&rcy;&scy;&icy;&icy; 1.8.0, &vcy;&ycy;&pcy;&ucy;&shchcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy; &ocy;&kcy;&tcy;&yacy;&bcy;&rcy;&iecy; 2012 &gcy;&ocy;&dcy;&acy;, &acy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&kcy;&acy; &bcy;&ycy;&lcy;&acy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&iecy;&ncy;&acy; &ZeroWidthSpace;&ZeroWidthSpace;&vcy; libgit2 &vcy; 2016 &gcy;&ocy;&dcy;&ucy; &icy; &vcy; J  Git  &vcy; 2020 &gcy;&ocy;&dcy;&ucy;. &Vcy; &bcy;&ocy;&lcy;&iecy;&iecy; &scy;&tcy;&acy;&rcy;&ycy;&khcy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;&khcy; &ecy;&tcy;&ocy;&jcy; &scy;&tcy;&rcy;&acy;&ncy;&icy;&tscy;&ycy; &rcy;&ucy;&kcy;&ocy;&vcy;&ocy;&dcy;&scy;&tcy;&vcy;&acy; &ocy;&ncy;&acy; &ncy;&acy;&zcy;&ycy;&vcy;&acy;&lcy;&acy;&scy;&softcy;  &quot;relatively young&quot; , &ncy;&ocy; &vcy; &ncy;&acy;&shcy;&icy; &dcy;&ncy;&icy; &iecy;&iecy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &scy;&chcy;&icy;&tcy;&acy;&tcy;&softcy; &zcy;&rcy;&iecy;&lcy;&ocy;&jcy; &tcy;&iecy;&khcy;&ncy;&ocy;&lcy;&ocy;&gcy;&icy;&iecy;&jcy;. .</span></p> </dd> <dt id="Documentation/git-update-index.txt---show-index-version"><span data-i18n="f227338a0c79374838b0989cfc3f0b88d89d439ea5d91e7aeb8b851d1d0063d8/6e" data-source="--show-index-version" onmousemove="i18n(this)">--show-index-version</span></dt> <dd> <p><span data-i18n="f165824902bb96e2955c6c3fcc722ab699bb058764ab91f0a96d18d214d82bdd/69" data-source="Report the index format version used by the on-disk index file. See &lt;code&gt;--index-version&lt;/code&gt; above." onmousemove="i18n(this)">&Scy;&ocy;&ocy;&bcy;&shchcy;&icy;&tcy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&yucy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&acy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ucy;&yucy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ycy;&mcy; &fcy;&acy;&jcy;&lcy;&ocy;&mcy; &ncy;&acy; &dcy;&icy;&scy;&kcy;&iecy;. &Scy;&mcy;.  <code>--index-version</code>  &vcy;&ycy;&shcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt--z"><span data-i18n="cac3c371c8f2e17e79214e0fae22255e0f1fad169bac56d2f8a10d7fd54846cb/4d" data-source="-z" onmousemove="i18n(this)">-z</span></dt> <dd> <p><span data-i18n="2fdf3904de7787ec641e946a53d13ccbc192d7c3d404a7d70c6af7bcd82916ca/1b" data-source="Only meaningful with &lt;code&gt;--stdin&lt;/code&gt; or &lt;code&gt;--index-info&lt;/code&gt;; paths are separated with NUL character instead of LF." onmousemove="i18n(this)">&Icy;&mcy;&iecy;&iecy;&tcy; &scy;&mcy;&ycy;&scy;&lcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&lcy;&yacy;  <code>--stdin</code>  &icy;&lcy;&icy;  <code>--index-info</code> ; &pcy;&ucy;&tcy;&icy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&ocy;&mcy; NUL &vcy;&mcy;&iecy;&scy;&tcy;&ocy; LF.</span></p> </dd> <dt id="Documentation/git-update-index.txt---split-index"><span data-i18n="d86298f7d43a8c58ba922616fc647ec60d271e84dd226b67d27245f20e7c63c9/21" data-source="--split-index" onmousemove="i18n(this)">--split-index</span></dt> <dt id="Documentation/git-update-index.txt---no-split-index"><span data-i18n="d99924378eee5625ed358fe998d9f0bd55c08b58a6e37fe0cff6924eb060cad4/23" data-source="--no-split-index" onmousemove="i18n(this)">--no-split-index</span></dt> <dd> <p><span data-i18n="d8099ab75512636dad05580aa94b501513b3c2b81f82159f6f35a9e9ddd554f7/26" data-source="Enable or disable split index mode. If split-index mode is already enabled and &lt;code&gt;--split-index&lt;/code&gt; is given again, all changes in $GIT_DIR/index are pushed back to the shared index file." onmousemove="i18n(this)">&Vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &icy;&lcy;&icy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &rcy;&iecy;&zhcy;&icy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;. &IEcy;&scy;&lcy;&icy; &rcy;&iecy;&zhcy;&icy;&mcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &ucy;&zhcy;&iecy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy; &icy;  <code>--split-index</code>  &zcy;&acy;&dcy;&acy;&ncy; &scy;&ncy;&ocy;&vcy;&acy;, &vcy;&scy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; $GIT_DIR/index &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&yucy;&tcy;&scy;&yacy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy; &vcy; &ocy;&bcy;&shchcy;&icy;&jcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;.</span></p> <p><span data-i18n="cdd8bcc0b9d4e97a5252d370d86aad4e2d41b86b27dd9b045cd834c7a15ab261/35" data-source="These options take effect whatever the value of the &lt;code&gt;core.splitIndex&lt;/code&gt; configuration variable (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;). But a warning is emitted when the change goes against the configured value, as the configured value will take effect next time the index is read and this will remove the intended effect of the option." onmousemove="i18n(this)">&Ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &vcy;&scy;&tcy;&ucy;&pcy;&acy;&yucy;&tcy; &vcy; &scy;&icy;&lcy;&ucy; &ncy;&iecy;&zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy; &ocy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.splitIndex</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ). &Ncy;&ocy; &iecy;&scy;&lcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ocy;&rcy;&iecy;&chcy;&icy;&tcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ocy;&mcy;&ucy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yucy;, &vcy;&ycy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&iecy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &vcy;&scy;&tcy;&ucy;&pcy;&icy;&tcy; &vcy; &scy;&icy;&lcy;&ucy; &pcy;&rcy;&icy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &chcy;&tcy;&iecy;&ncy;&icy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;, &icy; &ecy;&tcy;&ocy; &ucy;&scy;&tcy;&rcy;&acy;&ncy;&icy;&tcy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&mcy;&ycy;&jcy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---untracked-cache"><span data-i18n="e5f0ec647fb27b31ae8c93348cce14685ca5770be042a5fc4ed32d20d8a9c8c3/31" data-source="--untracked-cache" onmousemove="i18n(this)">--untracked-cache</span></dt> <dt id="Documentation/git-update-index.txt---no-untracked-cache"><span data-i18n="811054df4da5f5b83952ab9b62437287e723c864e4425331567908e93d0958f1/c6" data-source="--no-untracked-cache" onmousemove="i18n(this)">--no-untracked-cache</span></dt> <dd> <p><span data-i18n="83b5d3a06138f692e30f1b1e8953015b23fa8358607c1990268faa232e9a8978/4a" data-source="Enable or disable untracked cache feature. Please use &lt;code&gt;--test-untracked-cache&lt;/code&gt; before enabling it." onmousemove="i18n(this)">&Vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &icy;&lcy;&icy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yucy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ocy;&gcy;&ocy; &kcy;&ecy;&shcy;&acy;. &Pcy;&ocy;&zhcy;&acy;&lcy;&ucy;&jcy;&scy;&tcy;&acy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>--test-untracked-cache</code>  &pcy;&iecy;&rcy;&iecy;&dcy; &iecy;&gcy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy;.</span></p> <p><span data-i18n="f336dfd1656711e60a1193fd8e2f1898d7c1043e5612cc1e4efe9e84594f98c3/3c" data-source="These options take effect whatever the value of the &lt;code&gt;core.untrackedCache&lt;/code&gt; configuration variable (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;). But a warning is emitted when the change goes against the configured value, as the configured value will take effect next time the index is read and this will remove the intended effect of the option." onmousemove="i18n(this)">&Ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &vcy;&scy;&tcy;&ucy;&pcy;&acy;&yucy;&tcy; &vcy; &scy;&icy;&lcy;&ucy; &ncy;&iecy;&zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy; &ocy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.untrackedCache</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ). &Ncy;&ocy; &iecy;&scy;&lcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ocy;&rcy;&iecy;&chcy;&icy;&tcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ocy;&mcy;&ucy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yucy;, &vcy;&ycy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&iecy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &vcy;&scy;&tcy;&ucy;&pcy;&icy;&tcy; &vcy; &scy;&icy;&lcy;&ucy; &pcy;&rcy;&icy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &chcy;&tcy;&iecy;&ncy;&icy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;, &icy; &ecy;&tcy;&ocy; &ucy;&scy;&tcy;&rcy;&acy;&ncy;&icy;&tcy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&mcy;&ycy;&jcy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---test-untracked-cache"><span data-i18n="755fb4dda75eaaad5c88d7316cf381499a1a85d91503567a75cca44053050c8f/02" data-source="--test-untracked-cache" onmousemove="i18n(this)">--test-untracked-cache</span></dt> <dd> <p><span data-i18n="d0d339c74f63f35f24545e0791b111ffebebbb2fb3b262d6d1e25f6cb938ba7e/f5" data-source="Only perform tests on the working directory to make sure untracked cache can be used. You have to manually enable untracked cache using &lt;code&gt;--untracked-cache&lt;/code&gt; or &lt;code&gt;--force-untracked-cache&lt;/code&gt; or the &lt;code&gt;core.untrackedCache&lt;/code&gt; configuration variable afterwards if you really want to use it. If a test fails the exit code is 1 and a message explains what is not working as needed, otherwise the exit code is 0 and OK is printed." onmousemove="i18n(this)">&Vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&jcy;&tcy;&iecy; &tcy;&iecy;&scy;&tcy;&ycy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&bcy;&iecy;&dcy;&icy;&tcy;&softcy;&scy;&yacy;, &chcy;&tcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&jcy; &kcy;&ecy;&shcy;. &Vcy;&acy;&mcy; &pcy;&rcy;&icy;&dcy;&iecy;&tcy;&scy;&yacy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy; &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&jcy; &kcy;&ecy;&shcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy;  <code>--untracked-cache</code>  &icy;&lcy;&icy;  <code>--force-untracked-cache</code>  &icy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.untrackedCache</code> , &iecy;&scy;&lcy;&icy; &vcy;&ycy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &iecy;&gcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;. &IEcy;&scy;&lcy;&icy; &tcy;&iecy;&scy;&tcy; &ncy;&iecy; &pcy;&rcy;&ocy;&jcy;&dcy;&iecy;&ncy;, &kcy;&ocy;&dcy; &vcy;&ycy;&khcy;&ocy;&dcy;&acy; &rcy;&acy;&vcy;&iecy;&ncy; 1, &icy; &vcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&icy; &ocy;&bcy;&hardcy;&yacy;&scy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy;, &chcy;&tcy;&ocy; &ncy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;, &vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &kcy;&ocy;&dcy; &vcy;&ycy;&khcy;&ocy;&dcy;&acy; &rcy;&acy;&vcy;&iecy;&ncy; 0 &icy; &vcy;&ycy;&vcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &Ocy;&Kcy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---force-untracked-cache"><span data-i18n="016b272bdb61184d252d044de19c498f032aa3753f005523252623c74bfad01c/2a" data-source="--force-untracked-cache" onmousemove="i18n(this)">--force-untracked-cache</span></dt> <dd> <p><span data-i18n="43561ac82273bec8e494efa71e3108d6b10b5573dbf16bdba379254de8255b05/35" data-source="Same as &lt;code&gt;--untracked-cache&lt;/code&gt;. Provided for backwards compatibility with older versions of Git where &lt;code&gt;--untracked-cache&lt;/code&gt; used to imply &lt;code&gt;--test-untracked-cache&lt;/code&gt; but this option would enable the extension unconditionally." onmousemove="i18n(this)">&Tcy;&ocy; &zhcy;&iecy;, &chcy;&tcy;&ocy;  <code>--untracked-cache</code> . &Pcy;&rcy;&iecy;&dcy;&ucy;&scy;&mcy;&ocy;&tcy;&rcy;&iecy;&ncy;&ocy; &dcy;&lcy;&yacy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy;&jcy; &scy;&ocy;&vcy;&mcy;&iecy;&scy;&tcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &scy;&ocy; &scy;&tcy;&acy;&rcy;&ycy;&mcy;&icy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;&mcy;&icy;  Git , &gcy;&dcy;&iecy;  <code>--untracked-cache</code>  &rcy;&acy;&ncy;&softcy;&shcy;&iecy; &pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&lcy;&ocy;  <code>--test-untracked-cache</code> , &ncy;&ocy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &bcy;&iecy;&zcy;&ocy;&gcy;&ocy;&vcy;&ocy;&rcy;&ocy;&chcy;&ncy;&ocy; &acy;&kcy;&tcy;&icy;&vcy;&icy;&rcy;&ucy;&iecy;&tcy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&iecy;&ncy;&icy;&iecy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---fsmonitor"><span data-i18n="7537280e5af9cff72a8f7340e227a52cd6ca0a543cee70645419e95c34be8566/5a" data-source="--fsmonitor" onmousemove="i18n(this)">--fsmonitor</span></dt> <dt id="Documentation/git-update-index.txt---no-fsmonitor"><span data-i18n="5a97f7f93febb7f9f91cef6fbf9a4dfb21c4d29f89e2139338a012b1b93652f7/be" data-source="--no-fsmonitor" onmousemove="i18n(this)">--no-fsmonitor</span></dt> <dd> <p><span data-i18n="29619b8f46b1d9a7010118df2c943810d05fb79f73a1ae299343f85c24d3666d/0b" data-source="Enable or disable files system monitor feature. These options take effect whatever the value of the &lt;code&gt;core.fsmonitor&lt;/code&gt; configuration variable (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;). But a warning is emitted when the change goes against the configured value, as the configured value will take effect next time the index is read and this will remove the intended effect of the option." onmousemove="i18n(this)">&Vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &icy;&lcy;&icy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yucy; &mcy;&ocy;&ncy;&icy;&tcy;&ocy;&rcy;&icy;&ncy;&gcy;&acy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy;. &Ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &vcy;&scy;&tcy;&ucy;&pcy;&acy;&yucy;&tcy; &vcy; &scy;&icy;&lcy;&ucy; &ncy;&iecy;&zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy; &ocy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.fsmonitor</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ). &Ncy;&ocy; &iecy;&scy;&lcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&iecy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ocy;&rcy;&iecy;&chcy;&icy;&tcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ocy;&mcy;&ucy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yucy;, &vcy;&ycy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&iecy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&iecy;&ncy;&ncy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &vcy;&scy;&tcy;&ucy;&pcy;&icy;&tcy; &vcy; &scy;&icy;&lcy;&ucy; &pcy;&rcy;&icy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &chcy;&tcy;&iecy;&ncy;&icy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;, &icy; &ecy;&tcy;&ocy; &ucy;&scy;&tcy;&rcy;&acy;&ncy;&icy;&tcy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&mcy;&ycy;&jcy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt---"><span data-i18n="d8156bae0c4243d3742fc4e9774d8aceabe0410249d720c855f98afc88ff846c/71" data-source="--" onmousemove="i18n(this)">--</span></dt> <dd> <p><span data-i18n="0ea53dd4a1fb9384edae11ed9c03b5411457806a0ae358d444eb80e48fbc0c0c/07" data-source="Do not interpret any more arguments as options." onmousemove="i18n(this)">&Ncy;&iecy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&rcy;&iecy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&iecy; &acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy;&ycy; &kcy;&acy;&kcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&ycy;.</span></p> </dd> <dt id="Documentation/git-update-index.txt-ltfilegt"><span data-i18n="1dcff8128b4ca0af5133b65acbbc0712f1c6bf04a6fde62e812c36e442604929/a0" data-source="&amp;lt;file&amp;gt;" onmousemove="i18n(this)">&lt;file&gt;</span></dt> <dd> <p><span data-i18n="298d0b620c3e0934d4885ee5c175ed79cb50c1ae74d3505c814034270657ff3b/38" data-source="Files to act on. Note that files beginning with &lt;code&gt;.&lt;/code&gt; are discarded. This includes &lt;code&gt;./file&lt;/code&gt; and &lt;code&gt;dir/./file&lt;/code&gt;. If you don&amp;rsquo;t want this, then use cleaner names. The same applies to directories ending &lt;code&gt;/&lt;/code&gt; and paths with &lt;code&gt;//&lt;/code&gt;" onmousemove="i18n(this)">&Fcy;&acy;&jcy;&lcy;&ycy; &dcy;&lcy;&yacy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&jcy;. &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &fcy;&acy;&jcy;&lcy;&ycy;, &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&shchcy;&icy;&iecy;&scy;&yacy; &scy;  <code>.</code> , &ocy;&tcy;&bcy;&rcy;&acy;&scy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy;. &Scy;&yucy;&dcy;&acy; &vcy;&khcy;&ocy;&dcy;&yacy;&tcy;  <code>./file</code>  &icy;  <code>dir/./file</code> . &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &ecy;&tcy;&ocy;&gcy;&ocy; &ncy;&iecy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &bcy;&ocy;&lcy;&iecy;&iecy; &chcy;&icy;&scy;&tcy;&ycy;&iecy; &icy;&mcy;&iecy;&ncy;&acy;. &Tcy;&ocy; &zhcy;&iecy; &scy;&acy;&mcy;&ocy;&iecy; &ocy;&tcy;&ncy;&ocy;&scy;&icy;&tcy;&scy;&yacy; &kcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&mcy;, &zcy;&acy;&kcy;&acy;&ncy;&chcy;&icy;&vcy;&acy;&yucy;&shchcy;&icy;&mcy;&scy;&yacy;  <code>/</code> , &icy; &pcy;&ucy;&tcy;&yacy;&mcy; &ncy;&acy;  <code>//</code> .</span></p> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_using_refresh"><span data-i18n="1c5f2ad1503f908d772e7f28b16b86038cea3e01230a206212a2c2755ac07767/c1" data-source="Using --refresh" onmousemove="i18n(this)">Using --refresh</span></h2> <div> <p><span data-i18n="4b125c2c3594d3901c9ab1b15f837c9b85d6987d8d46f9e26efd2486e2885b16/d8" data-source="&lt;code&gt;--refresh&lt;/code&gt; does not calculate a new sha1 file or bring the index up to date for mode/content changes. But what it &lt;strong&gt;does&lt;/strong&gt; do is to &amp;quot;re-match&amp;quot; the stat information of a file with the index, so that you can refresh the index for a file that hasn&amp;rsquo;t been changed but where the stat entry is out of date." onmousemove="i18n(this)"><code>--refresh</code>  &ncy;&iecy; &vcy;&ycy;&chcy;&icy;&scy;&lcy;&yacy;&iecy;&tcy; &ncy;&ocy;&vcy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; sha1 &icy; &ncy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &dcy;&lcy;&yacy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &rcy;&iecy;&zhcy;&icy;&mcy;&acy;/&scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&gcy;&ocy;. &Ncy;&ocy; &chcy;&tcy;&ocy; &ocy;&ncy; &dcy;&iecy;&lcy;&acy;&iecy;&tcy;, &tcy;&acy;&kcy; &ecy;&tcy;&ocy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&iecy;&tcy;  &quot;re-match&quot;  &scy;&tcy;&acy;&tcy;&icy;&scy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &fcy;&acy;&jcy;&lcy;&acy; &scy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ocy;&mcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &vcy;&ycy; &mcy;&ocy;&gcy;&lcy;&icy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &dcy;&lcy;&yacy; &fcy;&acy;&jcy;&lcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ncy;&iecy; &bcy;&ycy;&lcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;, &ncy;&ocy; &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&mcy; &zcy;&acy;&pcy;&icy;&scy;&softcy; &scy;&tcy;&acy;&tcy;&icy;&scy;&tcy;&icy;&kcy;&icy; &ucy;&scy;&tcy;&acy;&rcy;&iecy;&lcy;&acy;.</span></p> <p><span data-i18n="5d0d1687bd51a2d71254c6771c056c225e79f3e40872a29f09467648962ce8e7/bd" data-source="For example, you&amp;rsquo;d want to do this after doing a &lt;code&gt;git read-tree&lt;/code&gt;, to link up the stat index details with the proper files." onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &vcy;&ycy; &zcy;&acy;&khcy;&ocy;&tcy;&icy;&tcy;&iecy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy; &pcy;&ocy;&scy;&lcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy;  <code>git read-tree</code>  , &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&vcy;&yacy;&zcy;&acy;&tcy;&softcy; &dcy;&iecy;&tcy;&acy;&lcy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &scy;&tcy;&acy;&tcy;&icy;&scy;&tcy;&icy;&kcy;&icy; &scy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&mcy;&icy; &fcy;&acy;&jcy;&lcy;&acy;&mcy;&icy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_using_cacheinfo_or_info_only"><span data-i18n="77d9ef63c105dbfedd72a564a70c4b522ed4093ecd26ef5935f7973064e1a1f0/21" data-source="Using --cacheinfo or --info-only" onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; --cacheinfo &icy;&lcy;&icy; --info-only</span></h2> <div> <p><span data-i18n="91099dcdd2ff0c3e6fee79f0c57d66e5d2aa64790024df566cf6a3a9da8530d6/c4" data-source="&lt;code&gt;--cacheinfo&lt;/code&gt; is used to register a file that is not in the current working directory. This is useful for minimum-checkout merging." onmousemove="i18n(this)"><code>--cacheinfo</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &rcy;&iecy;&gcy;&icy;&scy;&tcy;&rcy;&acy;&tscy;&icy;&icy; &fcy;&acy;&jcy;&lcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &ncy;&iecy;&tcy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&mcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy; &dcy;&lcy;&yacy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &scy; &mcy;&icy;&ncy;&icy;&mcy;&acy;&lcy;&softcy;&ncy;&ocy;&jcy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&ocy;&jcy;.</span></p> <p><span data-i18n="19b4eb397bda0cfd5756b157aab5f418fe0ddbaabb157a8bf84f85ea5711fc6b/8f" data-source="To pretend you have a file at path with mode and sha1, say:" onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&icy;&tcy;&softcy;, &chcy;&tcy;&ocy; &ucy; &vcy;&acy;&scy; &iecy;&scy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy; &pcy;&ocy; &pcy;&ucy;&tcy;&icy; &scy; &rcy;&iecy;&zhcy;&icy;&mcy;&ocy;&mcy; &icy; sha1, &scy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy;:</span></p> <div> <div> <pre class="hljs language-xml">$ git update-index --add --cacheinfo <span class="hljs-tag">&lt;<span class="hljs-name">mode</span>&gt;</span>,<span class="hljs-tag">&lt;<span class="hljs-name">sha1</span>&gt;</span>,<span class="hljs-tag">&lt;<span class="hljs-name">path</span>&gt;</span></pre> </div> </div> <p><span data-i18n="0bd93fb74a29e19267ce9e398a4c2fecaf37a8bfb5bfc5b19238812a19627cb6/90" data-source="&lt;code&gt;--info-only&lt;/code&gt; is used to register files without placing them in the object database. This is useful for status-only repositories." onmousemove="i18n(this)"><code>--info-only</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &rcy;&iecy;&gcy;&icy;&scy;&tcy;&rcy;&acy;&tscy;&icy;&icy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &bcy;&iecy;&zcy; &pcy;&ocy;&mcy;&iecy;&shchcy;&iecy;&ncy;&icy;&yacy; &icy;&khcy; &vcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ncy;&ucy;&yucy; &bcy;&acy;&zcy;&ucy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy; &dcy;&lcy;&yacy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy;&ocy; &scy;&tcy;&acy;&tcy;&ucy;&scy;&ocy;&mcy;.</span></p> <p><span data-i18n="6824bc7ad2bc8c17180a989764ccf46d41e6758821f4b62e4faebe660fda29fe/ba" data-source="Both &lt;code&gt;--cacheinfo&lt;/code&gt; and &lt;code&gt;--info-only&lt;/code&gt; behave similarly: the index is updated but the object database isn&amp;rsquo;t. &lt;code&gt;--cacheinfo&lt;/code&gt; is useful when the object is in the database but the file isn&amp;rsquo;t available locally. &lt;code&gt;--info-only&lt;/code&gt; is useful when the file is available, but you do not wish to update the object database." onmousemove="i18n(this)">&Icy;  <code>--cacheinfo</code> , &icy;  <code>--info-only</code>  &vcy;&iecy;&dcy;&ucy;&tcy; &scy;&iecy;&bcy;&yacy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ocy;: &icy;&ncy;&dcy;&iecy;&kcy;&scy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;, &acy; &bcy;&acy;&zcy;&acy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy; &mdash; &ncy;&iecy;&tcy;.  <code>--cacheinfo</code>  &pcy;&ocy;&lcy;&iecy;&zcy;&iecy;&ncy;, &kcy;&ocy;&gcy;&dcy;&acy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &vcy; &bcy;&acy;&zcy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy;, &ncy;&ocy; &fcy;&acy;&jcy;&lcy; &ncy;&iecy;&dcy;&ocy;&scy;&tcy;&ucy;&pcy;&iecy;&ncy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;.  <code>--info-only</code>  &pcy;&ocy;&lcy;&iecy;&zcy;&iecy;&ncy;, &kcy;&ocy;&gcy;&dcy;&acy; &fcy;&acy;&jcy;&lcy; &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&iecy;&ncy;, &ncy;&ocy; &vcy;&ycy; &ncy;&iecy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&tcy;&softcy; &bcy;&acy;&zcy;&ucy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &ocy;&bcy;&hardcy;&iecy;&kcy;&tcy;&ocy;&vcy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_using_index_info"><span data-i18n="a6fea8b6c31b5a79334925604f2d07678093d00595584d2b23b4083e85a79969/3a" data-source="Using --index-info" onmousemove="i18n(this)">Using --index-info</span></h2> <div> <p><span data-i18n="40811403062887a246f63ef21af28c34770775db2d28f1082fa51abffdeebeff/3d" data-source="&lt;code&gt;--index-info&lt;/code&gt; is a more powerful mechanism that lets you feed multiple entry definitions from the standard input, and designed specifically for scripts. It can take inputs of three formats:" onmousemove="i18n(this)"><code>--index-info</code>  &mdash; &ecy;&tcy;&ocy; &bcy;&ocy;&lcy;&iecy;&iecy; &mcy;&ocy;&shchcy;&ncy;&ycy;&jcy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy;, &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&yucy;&shchcy;&icy;&jcy; &vcy;&vcy;&ocy;&dcy;&icy;&tcy;&softcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&jcy; &zcy;&acy;&pcy;&icy;&scy;&iecy;&jcy; &icy;&zcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&gcy;&ocy; &vcy;&vcy;&ocy;&dcy;&acy; &icy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ncy;&ycy;&jcy; &scy;&pcy;&iecy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&ocy; &dcy;&lcy;&yacy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&iecy;&vcy;. &Ocy;&ncy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&tcy;&softcy; &vcy;&khcy;&ocy;&dcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &tcy;&rcy;&iecy;&khcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&ocy;&vcy;:</span></p> <div> <ol> <li> <p><span data-i18n="71ba56f6a5a4a0782ef64a5a234e27ea35d0a5ff9a10f59a586f0b0d2fa91e26/e3" data-source="mode SP type SP sha1 TAB path" onmousemove="i18n(this)">&rcy;&iecy;&zhcy;&icy;&mcy; SP &tcy;&icy;&pcy; SP sha1 TAB &pcy;&ucy;&tcy;&softcy;</span></p> <p><span data-i18n="2dfa9f6d7a1775b66269a27e78ab40f900fd30a25dfc35bb7c2e4a25ce27015a/e0" data-source="This format is to stuff &lt;code&gt;git ls-tree&lt;/code&gt; output into the index." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &dcy;&lcy;&yacy; &pcy;&ocy;&mcy;&iecy;&shchcy;&iecy;&ncy;&icy;&yacy; &vcy;&ycy;&vcy;&ocy;&dcy;&acy;  <code>git ls-tree</code>  &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;.</span></p> </li> <li> <p><span data-i18n="50ff9e0c305ab17d45c7285f1af44dad45be0b1d9767040081841b004e739362/7f" data-source="mode SP sha1 SP stage TAB path" onmousemove="i18n(this)">&rcy;&iecy;&zhcy;&icy;&mcy; SP sha1 SP &ecy;&tcy;&acy;&pcy; TAB &pcy;&ucy;&tcy;&softcy;</span></p> <p><span data-i18n="5ae1ee541fc203a6a530198d2f678247201ef0159d940a95b3438886257d88e2/72" data-source="This format is to put higher order stages into the index file and matches &lt;code&gt;git ls-files --stage&lt;/code&gt; output." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &dcy;&lcy;&yacy; &pcy;&ocy;&mcy;&iecy;&shchcy;&iecy;&ncy;&icy;&yacy; &scy;&tcy;&acy;&dcy;&icy;&jcy; &bcy;&ocy;&lcy;&iecy;&iecy; &vcy;&ycy;&scy;&ocy;&kcy;&ocy;&gcy;&ocy; &pcy;&ocy;&rcy;&yacy;&dcy;&kcy;&acy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &icy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &vcy;&ycy;&khcy;&ocy;&dcy;&ncy;&ycy;&mcy; &dcy;&acy;&ncy;&ncy;&ycy;&mcy;  <code>git ls-files --stage</code> .</span></p> </li> <li> <p><span data-i18n="1213b9240334a8a868f59e3867468d8f107a4c087fd2cd38d3654e2d358b0f18/cd" data-source="mode SP sha1 TAB path" onmousemove="i18n(this)">&rcy;&iecy;&zhcy;&icy;&mcy; SP sha1 TAB &pcy;&ucy;&tcy;&softcy;</span></p> <p><span data-i18n="5b45cedba6b5410ca52f793edf5d7cad1ff2eb632311e486de5a5283217e52dd/50" data-source="This format is no longer produced by any Git command, but is and will continue to be supported by &lt;code&gt;update-index --index-info&lt;/code&gt;." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy; &ncy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&kcy;&ocy;&jcy;-&lcy;&icy;&bcy;&ocy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ocy;&jcy;  Git , &ncy;&ocy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &icy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&tcy;&softcy;&scy;&yacy;  <code>update-index --index-info</code> .</span></p> </li> </ol> </div> <p><span data-i18n="08ec3d7aa892b660227719186456ecba66b02848604dcb029dd334c1a01bf52f/30" data-source="To place a higher stage entry to the index, the path should first be removed by feeding a mode=0 entry for the path, and then feeding necessary input lines in the third format." onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&mcy;&iecy;&scy;&tcy;&icy;&tcy;&softcy; &zcy;&acy;&pcy;&icy;&scy;&softcy; &bcy;&ocy;&lcy;&iecy;&iecy; &vcy;&ycy;&scy;&ocy;&kcy;&ocy;&gcy;&ocy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;, &pcy;&ucy;&tcy;&softcy; &scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy;, &vcy;&vcy;&iecy;&dcy;&yacy; &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&icy; &zcy;&acy;&pcy;&icy;&scy;&softcy; mode=0, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &vcy;&vcy;&iecy;&dcy;&yacy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ycy;&iecy; &vcy;&khcy;&ocy;&dcy;&ncy;&ycy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &vcy; &tcy;&rcy;&iecy;&tcy;&softcy;&iecy;&mcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&iecy;.</span></p> <p><span data-i18n="7f9d781af326a81582f8c4e25dc59908c28e9bc633758e7754aed773937ff357/c2" data-source="For example, starting with this index:" onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &ncy;&acy;&chcy;&icy;&ncy;&acy;&yacy; &scy; &ecy;&tcy;&ocy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;:</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git ls-files -s
<span class="hljs-number">100644</span> 8a1218a1024a212bb3db30becd860315f9f3ac52 <span class="hljs-number">0</span>       frotz</pre> </div> </div> <p><span data-i18n="85473416bf28a6e39c4d3e2c2190c5f33ff15fcfc3d252086f8f2626c3aada38/7f" data-source="you can feed the following input to &lt;code&gt;--index-info&lt;/code&gt;:" onmousemove="i18n(this)">&vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&ocy;&dcy;&acy;&tcy;&softcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&jcy; &vcy;&vcy;&ocy;&dcy; &vcy;  <code>--index-info</code> :</span></p> <div> <div> <pre class="hljs language-perl">$ git update-<span class="hljs-keyword">index</span> --<span class="hljs-keyword">index</span>-info
<span class="hljs-number">0</span> <span class="hljs-number">0000000000000000000000000000000000000000</span>        frotz
<span class="hljs-number">100644</span> <span class="hljs-number">8</span>a1218a1024a212bb3db30becd860315f9f3ac52 <span class="hljs-number">1</span>        frotz
<span class="hljs-number">100755</span> <span class="hljs-number">8</span>a1218a1024a212bb3db30becd860315f9f3ac52 <span class="hljs-number">2</span>        frotz</pre> </div> </div> <p><span data-i18n="50e23422006d21847a1018bef2b3f99399cb373f97946c40aade64e3700d247f/c3" data-source="The first line of the input feeds 0 as the mode to remove the path; the SHA-1 does not matter as long as it is well formatted. Then the second and third line feeds stage 1 and stage 2 entries for that path. After the above, we would end up with this:" onmousemove="i18n(this)">&Vcy; &pcy;&iecy;&rcy;&vcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy; &vcy;&khcy;&ocy;&dcy;&ncy;&ycy;&khcy; &dcy;&acy;&ncy;&ncy;&ycy;&khcy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; 0 &kcy;&acy;&kcy; &rcy;&iecy;&zhcy;&icy;&mcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy; &pcy;&ucy;&tcy;&icy;; SHA-1 &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&yacy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &khcy;&ocy;&rcy;&ocy;&shcy;&ocy; &ocy;&tcy;&fcy;&ocy;&rcy;&mcy;&acy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;. &Zcy;&acy;&tcy;&iecy;&mcy; &vcy;&tcy;&ocy;&rcy;&acy;&yacy; &icy; &tcy;&rcy;&iecy;&tcy;&softcy;&yacy; &scy;&tcy;&rcy;&ocy;&kcy;&icy; &pcy;&iecy;&rcy;&iecy;&ncy;&ocy;&scy;&yacy;&tcy; &zcy;&acy;&pcy;&icy;&scy;&icy; &ecy;&tcy;&acy;&pcy;&ocy;&vcy; 1 &icy; 2 &dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy;. &Pcy;&ocy;&scy;&lcy;&iecy; &vcy;&ycy;&shcy;&iecy;&scy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &mcy;&ycy; &pcy;&ocy;&lcy;&ucy;&chcy;&icy;&mcy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&iecy;:</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git ls-files -s
<span class="hljs-number">100644</span> 8a1218a1024a212bb3db30becd860315f9f3ac52 <span class="hljs-number">1</span>        frotz
<span class="hljs-number">100755</span> 8a1218a1024a212bb3db30becd860315f9f3ac52 <span class="hljs-number">2</span>        frotz</pre> </div> </div> </div> <h2 class="text-body-emphasis"  id="_using_assume_unchanged_bit"><span data-i18n="da6adf70921ad455347e341b796004a6a89823f42344ad169c3f53a3a9df55e2/61" data-source="Using &amp;ldquo;assume unchanged&amp;rdquo; bit" onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &bcy;&icy;&tcy;&acy; &laquo;&pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&tcy;&softcy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&ncy;&ycy;&mcy;&raquo;</span></h2> <div> <p><span data-i18n="e2ea48af4f73ecb5305532f2e3ac6dcb1828985db9daf18b0387e9fd24850a46/86" data-source="Many operations in Git depend on your filesystem to have an efficient &lt;code&gt;lstat(2)&lt;/code&gt; implementation, so that &lt;code&gt;st_mtime&lt;/code&gt; information for working tree files can be cheaply checked to see if the file contents have changed from the version recorded in the index file. Unfortunately, some filesystems have inefficient &lt;code&gt;lstat(2)&lt;/code&gt;. If your filesystem is one of them, you can set &amp;quot;assume unchanged&amp;quot; bit to paths you have not changed to cause Git not to do this check. Note that setting this bit on a path does not mean Git will check the contents of the file to see if it has changed &amp;mdash; it makes Git to omit any checking and assume it has &lt;strong&gt;not&lt;/strong&gt; changed. When you make changes to working tree files, you have to explicitly tell Git about it by dropping &amp;quot;assume unchanged&amp;quot; bit, either before or after you modify them." onmousemove="i18n(this)">&Mcy;&ncy;&ocy;&gcy;&icy;&iecy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; &vcy;  Git  &zcy;&acy;&vcy;&icy;&scy;&yacy;&tcy; &ocy;&tcy; &ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&jcy; &rcy;&iecy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy;  <code>lstat(2)</code>  &vcy; &vcy;&acy;&shcy;&iecy;&jcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&iecy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy;  <code>st_mtime</code>  &dcy;&lcy;&yacy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &mcy;&ocy;&zhcy;&ncy;&ocy; &lcy;&iecy;&gcy;&kcy;&ocy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;&softcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&vcy;&icy;&dcy;&iecy;&tcy;&softcy;, &icy;&zcy;&mcy;&iecy;&ncy;&icy;&lcy;&ocy;&scy;&softcy; &lcy;&icy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &fcy;&acy;&jcy;&lcy;&acy; &pcy;&ocy; &scy;&rcy;&acy;&vcy;&ncy;&iecy;&ncy;&icy;&yucy; &scy; &vcy;&iecy;&rcy;&scy;&icy;&iecy;&jcy;, &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ocy;&jcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ocy;&mcy; &fcy;&acy;&jcy;&lcy;&iecy;. &Kcy; &scy;&ocy;&zhcy;&acy;&lcy;&iecy;&ncy;&icy;&yucy;, &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ycy;&iecy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy; &icy;&mcy;&iecy;&yucy;&tcy; &ncy;&iecy;&ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&icy;&vcy;&ncy;&ycy;&jcy;  <code>lstat(2)</code> . &IEcy;&scy;&lcy;&icy; &vcy;&acy;&shcy;&acy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&acy;&yacy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&acy; &vcy;&khcy;&ocy;&dcy;&icy;&tcy; &vcy; &icy;&khcy; &chcy;&icy;&scy;&lcy;&ocy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &bcy;&icy;&tcy;  &quot;assume unchanged&quot;  &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &vcy;&ycy; &ncy;&iecy; &mcy;&iecy;&ncy;&yacy;&lcy;&icy;, &chcy;&tcy;&ocy;&bcy;&ycy;  Git  &ncy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&lcy; &ecy;&tcy;&ucy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&ucy;. &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&kcy;&acy; &ecy;&tcy;&ocy;&gcy;&ocy; &bcy;&icy;&tcy;&acy; &vcy; &pcy;&ucy;&tcy;&icy; &ncy;&iecy; &ocy;&zcy;&ncy;&acy;&chcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy;  Git  &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&tcy;&softcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &fcy;&acy;&jcy;&lcy;&acy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&vcy;&icy;&dcy;&iecy;&tcy;&softcy;, &icy;&zcy;&mcy;&iecy;&ncy;&icy;&lcy;&ocy;&scy;&softcy; &lcy;&icy; &ocy;&ncy;&ocy; &mdash; &ecy;&tcy;&ocy; &zcy;&acy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;  Git  &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; &lcy;&yucy;&bcy;&ucy;&yucy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&ucy; &icy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&icy;&tcy;&softcy;, &chcy;&tcy;&ocy; &ocy;&ncy;&ocy; &ncy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&lcy;&ocy;&scy;&softcy;. &Kcy;&ocy;&gcy;&dcy;&acy; &vcy;&ycy; &vcy;&ncy;&ocy;&scy;&icy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;, &vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &yacy;&vcy;&ncy;&ocy; &scy;&ocy;&ocy;&bcy;&shchcy;&icy;&tcy;&softcy; &ocy;&bcy; &ecy;&tcy;&ocy;&mcy;  Git , &ocy;&tcy;&bcy;&rcy;&ocy;&scy;&icy;&vcy; &bcy;&icy;&tcy;  &quot;assume unchanged&quot;  &lcy;&icy;&bcy;&ocy; &dcy;&ocy;, &lcy;&icy;&bcy;&ocy; &pcy;&ocy;&scy;&lcy;&iecy; &icy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="4c35bb6f6fe654ce02d5c7971549dbf7cf0da6337504c3c44abdab12137c7935/ab" data-source="In order to set &amp;quot;assume unchanged&amp;quot; bit, use &lt;code&gt;--assume-unchanged&lt;/code&gt; option. To unset, use &lt;code&gt;--no-assume-unchanged&lt;/code&gt;. To see which files have the &amp;quot;assume unchanged&amp;quot; bit set, use &lt;code&gt;git ls-files -v&lt;/code&gt; (see &lt;a href=&quot;git-ls-files&quot;&gt;git-ls-files[1]&lt;/a&gt;)." onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &bcy;&icy;&tcy;  &quot;assume unchanged&quot; , &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--assume-unchanged</code> . &Dcy;&lcy;&yacy; &scy;&bcy;&rcy;&ocy;&scy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>--no-assume-unchanged</code> . &CHcy;&tcy;&ocy;&bcy;&ycy; &ucy;&zcy;&ncy;&acy;&tcy;&softcy;, &vcy; &kcy;&acy;&kcy;&icy;&khcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy; &bcy;&icy;&tcy;  &quot;assume unchanged&quot; , &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>git ls-files -v</code>  (&scy;&mcy;.  <a href="git-ls-files.html">git-ls-files[1]</a> ).</span></p> <p><span data-i18n="56b757896b450985c80fb0a6000cfc652110a4976a00b6461f52c104949bbb49/13" data-source="The command looks at &lt;code&gt;core.ignorestat&lt;/code&gt; configuration variable. When this is true, paths updated with &lt;code&gt;git update-index paths...&lt;/code&gt; and paths updated with other Git commands that update both index and working tree (e.g. &lt;code&gt;git apply --index&lt;/code&gt;, &lt;code&gt;git checkout-index -u&lt;/code&gt;, and &lt;code&gt;git read-tree -u&lt;/code&gt;) are automatically marked as &amp;quot;assume unchanged&amp;quot;. Note that &amp;quot;assume unchanged&amp;quot; bit is &lt;strong&gt;not&lt;/strong&gt; set if &lt;code&gt;git update-index --refresh&lt;/code&gt; finds the working tree file matches the index (use &lt;code&gt;git update-index --really-refresh&lt;/code&gt; if you want to mark them as &amp;quot;assume unchanged&amp;quot;)." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.ignorestat</code> . &IEcy;&scy;&lcy;&icy; &ecy;&tcy;&ocy; &tcy;&acy;&kcy;, &pcy;&ucy;&tcy;&icy;, &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>git update-index paths...</code> , &icy; &pcy;&ucy;&tcy;&icy;, &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&iecy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;  Git , &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&yucy;&tcy; &kcy;&acy;&kcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;, &tcy;&acy;&kcy; &icy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>git apply --index</code> ,  <code>git checkout-index -u</code>  &icy;  <code>git read-tree -u</code> ), &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &pcy;&ocy;&mcy;&iecy;&chcy;&acy;&yucy;&tcy;&scy;&yacy; &kcy;&acy;&kcy;  &quot;assume unchanged&quot; . &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &bcy;&icy;&tcy;  &quot;assume unchanged&quot;  &ncy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy;  <code>git update-index --refresh</code>  &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &fcy;&acy;&jcy;&lcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy; (&icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>git update-index --really-refresh</code> , &iecy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &pcy;&ocy;&mcy;&iecy;&tcy;&icy;&tcy;&softcy; &icy;&khcy; &kcy;&acy;&kcy;  &quot;assume unchanged&quot; ).</span></p> <p><span data-i18n="52640d5e79d27ae56caf020e7590e588134cfc1211ae835ebcdfd8b2dfd9779d/3a" data-source="Sometimes users confuse the assume-unchanged bit with the skip-worktree bit. See the final paragraph in the &amp;quot;Skip-worktree bit&amp;quot; section below for an explanation of the differences." onmousemove="i18n(this)">&Icy;&ncy;&ocy;&gcy;&dcy;&acy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&icy; &pcy;&ucy;&tcy;&acy;&yucy;&tcy; &bcy;&icy;&tcy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&ncy;&ocy;&scy;&tcy;&icy; &scy; &bcy;&icy;&tcy;&ocy;&mcy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;. &Ocy;&bcy;&hardcy;&yacy;&scy;&ncy;&iecy;&ncy;&icy;&iecy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&jcy; &scy;&mcy;. &vcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&mcy; &acy;&bcy;&zcy;&acy;&tscy;&iecy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&acy;  &quot;Skip-worktree bit&quot;  &ncy;&icy;&zhcy;&iecy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <p><span data-i18n="74b52641f0603db223bb7d8d904a7eec613e259c168e783524f3b671f508c3dc/45" data-source="To update and refresh only the files already checked out:" onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ucy;&zhcy;&iecy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;:</span></p> <div> <div> <pre class="hljs language-perl">$ git checkout-<span class="hljs-keyword">index</span> -n -f -a &amp;&amp; git update-<span class="hljs-keyword">index</span> --ignore-missing --refresh</pre> </div> </div> <div> <dl> <dt id="Documentation/git-update-index.txt-Onaninefficientfilesystemwithcodecoreignorestatcodeset"><span data-i18n="b6a26c7a7cd90624372b6ebec15b48df3153c1ad919da1fe48169abaef299d6a/48" data-source="On an inefficient filesystem with &lt;code&gt;core.ignorestat&lt;/code&gt; set" onmousemove="i18n(this)">&Ncy;&acy; &ncy;&iecy;&ecy;&fcy;&fcy;&iecy;&kcy;&tcy;&icy;&vcy;&ncy;&ocy;&jcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&iecy; &scy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&mcy;  <code>core.ignorestat</code></span></dt> <dd> <div> <div> <pre class="hljs language-scss">$ git update-index <span class="hljs-attr">--really-refresh</span>              (<span class="hljs-number">1</span>)
$ git update-index <span class="hljs-attr">--no-assume-unchanged</span> foo<span class="hljs-selector-class">.c</span>   (<span class="hljs-number">2</span>)
$ git diff <span class="hljs-attr">--name-only</span>                           (<span class="hljs-number">3</span>)
$ edit foo<span class="hljs-selector-class">.c</span>
$ git diff <span class="hljs-attr">--name-only</span>                           (<span class="hljs-number">4</span>)
M foo<span class="hljs-selector-class">.c</span>
$ git update-index foo<span class="hljs-selector-class">.c</span>                         (<span class="hljs-number">5</span>)
$ git diff <span class="hljs-attr">--name-only</span>                           (<span class="hljs-number">6</span>)
$ edit foo<span class="hljs-selector-class">.c</span>
$ git diff <span class="hljs-attr">--name-only</span>                           (<span class="hljs-number">7</span>)
$ git update-index <span class="hljs-attr">--no-assume-unchanged</span> foo<span class="hljs-selector-class">.c</span>   (<span class="hljs-number">8</span>)
$ git diff <span class="hljs-attr">--name-only</span>                           (<span class="hljs-number">9</span>)
M foo<span class="hljs-selector-class">.c</span></pre> </div> </div> <div> <ol> <li> <p><span data-i18n="520f43fe186727811c01e0704674a5482bf02e3cf1416ad7a49cd40c2a3214a5/8a" data-source="forces lstat(2) to set &amp;quot;assume unchanged&amp;quot; bits for paths that match index." onmousemove="i18n(this)">&zcy;&acy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; lstat(2) &ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&tcy;&softcy; &bcy;&icy;&tcy;&ycy;  &quot;assume unchanged&quot;  &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy;.</span></p> </li> <li> <p><span data-i18n="d1989178b858757acb20ad547c125746fc51e93c3abcaf543ff1e3fb9d3e24a5/61" data-source="mark the path to be edited." onmousemove="i18n(this)">&ocy;&tcy;&mcy;&iecy;&tcy;&softcy;&tcy;&iecy; &pcy;&ucy;&tcy;&softcy; &dcy;&lcy;&yacy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;.</span></p> </li> <li> <p><span data-i18n="e8cca6aa1baca38b5066bcd0d4d1a2e443a151956544900195209a072f026767/70" data-source="this does lstat(2) and finds index matches the path." onmousemove="i18n(this)">&ecy;&tcy;&ocy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy; lstat(2) &icy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &pcy;&ucy;&tcy;&icy;.</span></p> </li> <li> <p><span data-i18n="b63865ab34940c91b4c572172998ba799a7864a6f367667fe3be9749812c5a3c/ad" data-source="this does lstat(2) and finds index does &lt;strong&gt;not&lt;/strong&gt; match the path." onmousemove="i18n(this)">&ecy;&tcy;&ocy; &scy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; lstat(2) &icy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &ncy;&iecy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &pcy;&ucy;&tcy;&icy;.</span></p> </li> <li> <p><span data-i18n="0776bc1ea66d54f11384fc7cc6bd7a3750eaef52d839bd09e4a66bd99a84b370/37" data-source="registering the new version to index sets &amp;quot;assume unchanged&amp;quot; bit." onmousemove="i18n(this)">&rcy;&iecy;&gcy;&icy;&scy;&tcy;&rcy;&acy;&tscy;&icy;&yacy; &ncy;&ocy;&vcy;&ocy;&jcy; &vcy;&iecy;&rcy;&scy;&icy;&icy; &dcy;&lcy;&yacy; &ncy;&acy;&bcy;&ocy;&rcy;&acy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ocy;&vcy; &bcy;&icy;&tcy;&acy;  &quot;assume unchanged&quot; .</span></p> </li> <li> <p><span data-i18n="c9aec2c5b4b777091500e0cf676407589f5857e92513b1114f4f14d673122c70/c1" data-source="and it is assumed unchanged." onmousemove="i18n(this)">&icy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&ncy;&ycy;&mcy;.</span></p> </li> <li> <p><span data-i18n="4319b01ff0c425152b3b2c2bc3a8a4fa41d4f56211047ae42db3956510db9ec0/a5" data-source="even after you edit it." onmousemove="i18n(this)">&dcy;&acy;&zhcy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy; &vcy;&ycy; &iecy;&gcy;&ocy; &ocy;&tcy;&rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;&iecy;.</span></p> </li> <li> <p><span data-i18n="16792c64f8297226fcbc366d34bbdcdb394e53b61bfc60e1a134f03e36579404/8b" data-source="you can tell about the change after the fact." onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &scy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &ocy;&bcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &pcy;&ocy;&scy;&tcy;&fcy;&acy;&kcy;&tcy;&ucy;&mcy;.</span></p> </li> <li> <p><span data-i18n="42cd1fbfe4cf1628dcf108be5dc2656d3c0e7a7afd7924df8598cc4fd80b52e1/bf" data-source="now it checks with lstat(2) and finds it has been changed." onmousemove="i18n(this)">&tcy;&iecy;&pcy;&iecy;&rcy;&softcy; &ocy;&ncy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; lstat(2) &icy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &ocy;&ncy; &bcy;&ycy;&lcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;.</span></p> </li> </ol> </div> </dd> </dl> </div> </div> <h2 class="text-body-emphasis"  id="_skip_worktree_bit"><span data-i18n="ae14ca25a0fe71c475b73b4a06754e6c1ee44bfc12ddb71f9296e53be40b5fcb/0c" data-source="Skip-worktree bit" onmousemove="i18n(this)">Skip-worktree bit</span></h2> <div> <p><span data-i18n="75b31db8e5145c57fa1d95259103fa2b2eed86ad7b13829eda7710c1edbb523c/3d" data-source="Skip-worktree bit can be defined in one (long) sentence: Tell git to avoid writing the file to the working directory when reasonably possible, and treat the file as unchanged when it is not present in the working directory." onmousemove="i18n(this)">&Bcy;&icy;&tcy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &vcy; &ocy;&dcy;&ncy;&ocy;&mcy; (&dcy;&lcy;&icy;&ncy;&ncy;&ocy;&mcy;) &pcy;&rcy;&iecy;&dcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&icy;: &Scy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy;  git  &icy;&zcy;&bcy;&iecy;&gcy;&acy;&tcy;&softcy; &zcy;&acy;&pcy;&icy;&scy;&icy; &fcy;&acy;&jcy;&lcy;&acy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;, &kcy;&ocy;&gcy;&dcy;&acy; &ecy;&tcy;&ocy; &rcy;&acy;&zcy;&ucy;&mcy;&ncy;&ocy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &icy; &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy; &kcy;&acy;&kcy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ycy;&jcy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy;.</span></p> <p><span data-i18n="4e4a5ad161d734f521b6638e3da4c87d1599c9b661a513611e8f98d744aefcba/e1" data-source="Note that not all git commands will pay attention to this bit, and some only partially support it." onmousemove="i18n(this)">&Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &ncy;&iecy; &vcy;&scy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  git  &ocy;&bcy;&rcy;&acy;&shchcy;&acy;&yucy;&tcy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy; &ncy;&acy; &ecy;&tcy;&ocy;&tcy; &bcy;&icy;&tcy;, &acy; &ncy;&iecy;&kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy; &iecy;&gcy;&ocy; &lcy;&icy;&shcy;&softcy; &chcy;&acy;&scy;&tcy;&icy;&chcy;&ncy;&ocy;.</span></p> <p><span data-i18n="1c525757450ce0aaea68c74e54161224697587840e13b45b7d0cb932d8930496/a5" data-source="The update-index flags and the read-tree capabilities relating to the skip-worktree bit predated the introduction of the &lt;a href=&quot;git-sparse-checkout&quot;&gt;git-sparse-checkout[1]&lt;/a&gt; command, which provides a much easier way to configure and handle the skip-worktree bits. If you want to reduce your working tree to only deal with a subset of the files in the repository, we strongly encourage the use of &lt;a href=&quot;git-sparse-checkout&quot;&gt;git-sparse-checkout[1]&lt;/a&gt; in preference to the low-level update-index and read-tree primitives." onmousemove="i18n(this)">&Fcy;&lcy;&acy;&gcy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &icy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&icy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;, &ocy;&tcy;&ncy;&ocy;&scy;&yacy;&shchcy;&icy;&iecy;&scy;&yacy; &kcy; &bcy;&icy;&tcy;&ucy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;, &pcy;&ocy;&yacy;&vcy;&icy;&lcy;&icy;&scy;&softcy; &dcy;&ocy; &pcy;&ocy;&yacy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <a href="git-sparse-checkout.html">git-sparse-checkout[1]</a> , &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ocy;&bcy;&iecy;&scy;&pcy;&iecy;&chcy;&icy;&vcy;&acy;&iecy;&tcy; &gcy;&ocy;&rcy;&acy;&zcy;&dcy;&ocy; &bcy;&ocy;&lcy;&iecy;&iecy; &pcy;&rcy;&ocy;&scy;&tcy;&ocy;&jcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&icy; &icy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&icy; &bcy;&icy;&tcy;&ocy;&vcy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;. &IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &scy;&ocy;&kcy;&rcy;&acy;&tcy;&icy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&ncy;&ocy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&lcy;&ocy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &scy; &pcy;&ocy;&dcy;&mcy;&ncy;&ocy;&zhcy;&iecy;&scy;&tcy;&vcy;&ocy;&mcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &mcy;&ycy; &ncy;&acy;&scy;&tcy;&ocy;&yacy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&ucy;&iecy;&mcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  <a href="git-sparse-checkout.html">git-sparse-checkout[1]</a>  &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ncy;&icy;&zcy;&kcy;&ocy;&ucy;&rcy;&ocy;&vcy;&ncy;&iecy;&vcy;&ycy;&khcy; &pcy;&rcy;&icy;&mcy;&icy;&tcy;&icy;&vcy;&ocy;&vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &icy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="24f1892d9c7d5e75f4d0f283b5675b8a20c5e2614f7d6d5a4c851712fb488e3a/9a" data-source="The primary purpose of the skip-worktree bit is to enable sparse checkouts, i.e. to have working directories with only a subset of paths present. When the skip-worktree bit is set, Git commands (such as &lt;code&gt;switch&lt;/code&gt;, &lt;code&gt;pull&lt;/code&gt;, &lt;code&gt;merge&lt;/code&gt;) will avoid writing these files. However, these commands will sometimes write these files anyway in important cases such as conflicts during a merge or rebase. Git commands will also avoid treating the lack of such files as an intentional deletion; for example &lt;code&gt;git add -u&lt;/code&gt; will not stage a deletion for these files and &lt;code&gt;git commit -a&lt;/code&gt; will not make a commit deleting them either." onmousemove="i18n(this)">&Ocy;&scy;&ncy;&ocy;&vcy;&ncy;&acy;&yacy; &tscy;&iecy;&lcy;&softcy; &bcy;&icy;&tcy;&acy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &mdash; &rcy;&acy;&zcy;&rcy;&iecy;&shcy;&icy;&tcy;&softcy; &rcy;&acy;&zcy;&rcy;&iecy;&zhcy;&iecy;&ncy;&ncy;&ycy;&iecy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&icy;, &tcy;. &iecy;. &icy;&mcy;&iecy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&iecy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &pcy;&rcy;&icy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&ocy;&dcy;&mcy;&ncy;&ocy;&zhcy;&iecy;&scy;&tcy;&vcy;&ocy; &pcy;&ucy;&tcy;&iecy;&jcy;. &IEcy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy; &bcy;&icy;&tcy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;, &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  Git  (&tcy;&acy;&kcy;&icy;&iecy; &kcy;&acy;&kcy;  <code>switch</code> ,  <code>pull</code> ,  <code>merge</code> ) &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&zcy;&bcy;&iecy;&gcy;&acy;&tcy;&softcy; &zcy;&acy;&pcy;&icy;&scy;&icy; &ecy;&tcy;&icy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;. &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &ecy;&tcy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy; &icy;&ncy;&ocy;&gcy;&dcy;&acy; &vcy;&scy;&iecy; &rcy;&acy;&vcy;&ncy;&ocy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yucy;&tcy; &ecy;&tcy;&icy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; &vcy;&acy;&zhcy;&ncy;&ycy;&khcy; &scy;&lcy;&ucy;&chcy;&acy;&yacy;&khcy;, &tcy;&acy;&kcy;&icy;&khcy; &kcy;&acy;&kcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ycy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &icy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;. &Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  Git  &tcy;&acy;&kcy;&zhcy;&iecy; &ncy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&tcy;&softcy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&icy;&iecy; &tcy;&acy;&kcy;&icy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &kcy;&acy;&kcy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&mcy;&iecy;&rcy;&iecy;&ncy;&ncy;&ocy;&iecy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&iecy;; &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>git add -u</code>  &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&iecy; &ecy;&tcy;&icy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;, &acy;  <code>git commit -a</code>  &tcy;&acy;&kcy;&zhcy;&iecy; &ncy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&tcy;&softcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &icy;&khcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="4380bb5cfc2f00d25e4f974767192fd0c636369dfd145ce281c1a8903e6bab13/50" data-source="Although this bit looks similar to assume-unchanged bit, its goal is different. The assume-unchanged bit is for leaving the file in the working tree but having Git omit checking it for changes and presuming that the file has not been changed (though if it can determine without stat&amp;rsquo;ing the file that it has changed, it is free to record the changes). skip-worktree tells Git to ignore the absence of the file, avoid updating it when possible with commands that normally update much of the working directory (e.g. &lt;code&gt;checkout&lt;/code&gt;, &lt;code&gt;switch&lt;/code&gt;, &lt;code&gt;pull&lt;/code&gt;, etc.), and not have its absence be recorded in commits. Note that in sparse checkouts (setup by &lt;code&gt;git sparse-checkout&lt;/code&gt; or by configuring core.sparseCheckout to true), if a file is marked as skip-worktree in the index but is found in the working tree, Git will clear the skip-worktree bit for that file." onmousemove="i18n(this)">&KHcy;&ocy;&tcy;&yacy; &ecy;&tcy;&ocy;&tcy; &bcy;&icy;&tcy; &pcy;&ocy;&khcy;&ocy;&zhcy; &ncy;&acy; &bcy;&icy;&tcy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&yacy;&iecy;&mcy;&ocy;&gcy;&ocy;, &iecy;&gcy;&ocy; &tscy;&iecy;&lcy;&softcy; &dcy;&rcy;&ucy;&gcy;&acy;&yacy;. &Bcy;&icy;&tcy; &laquo;&pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&tcy;&softcy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&ncy;&ocy;&scy;&tcy;&softcy;&raquo; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &dcy;&lcy;&yacy; &tcy;&ocy;&gcy;&ocy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&scy;&tcy;&acy;&vcy;&icy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;, &ncy;&ocy;  Git  &ncy;&iecy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy; &iecy;&gcy;&ocy; &ncy;&acy; &ncy;&acy;&lcy;&icy;&chcy;&icy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &icy; &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &fcy;&acy;&jcy;&lcy; &ncy;&iecy; &bcy;&ycy;&lcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy; (&khcy;&ocy;&tcy;&yacy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy;, &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yacy; &fcy;&acy;&jcy;&lcy;, &chcy;&tcy;&ocy; &ocy;&ncy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&lcy;&scy;&yacy;, &ecy;&tcy;&ocy; &bcy;&iecy;&scy;&pcy;&lcy;&acy;&tcy;&ncy;&ocy; &fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;). Skip-worktree &scy;&ocy;&ocy;&bcy;&shchcy;&acy;&iecy;&tcy;  Git  &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&acy;, &icy;&zcy;&bcy;&iecy;&gcy;&acy;&tcy;&softcy; &iecy;&gcy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;, &kcy;&ocy;&gcy;&dcy;&acy; &ecy;&tcy;&ocy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;, &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&yucy;&tcy; &bcy;&ocy;&lcy;&softcy;&shcy;&ucy;&yucy; &chcy;&acy;&scy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; (&ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;,  <code>checkout</code> ,  <code>switch</code> ,  <code>pull</code>  &icy; &tcy;. &dcy;.), &icy; &ncy;&iecy; &zcy;&acy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&tcy;&softcy; &iecy;&gcy;&ocy; &ocy;&tcy;&scy;&ucy;&tcy;&scy;&tcy;&vcy;&icy;&iecy; &vcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;&khcy;. &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &pcy;&rcy;&icy; &rcy;&acy;&zcy;&rcy;&iecy;&zhcy;&iecy;&ncy;&ncy;&ycy;&khcy; &icy;&zcy;&vcy;&lcy;&iecy;&chcy;&iecy;&ncy;&icy;&yacy;&khcy; (&ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&acy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>git sparse-checkout</code>  &icy;&lcy;&icy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&kcy;&acy; core.sparseCheckout &ncy;&acy; true), &iecy;&scy;&lcy;&icy; &fcy;&acy;&jcy;&lcy; &pcy;&ocy;&mcy;&iecy;&chcy;&iecy;&ncy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy; &kcy;&acy;&kcy; Skip-Worktree, &ncy;&ocy; &ncy;&acy;&jcy;&dcy;&iecy;&ncy; &vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;,  Git  &ocy;&chcy;&icy;&scy;&tcy;&icy;&tcy; &bcy;&icy;&tcy; Skip-Worktree &dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy;. .</span></p> </div> <h2 class="text-body-emphasis"  id="_split_index"><span data-i18n="67a4887543ae99633d783a515edae09c066852dd541381cdc1058a76fa4fcf3c/80" data-source="Split index" onmousemove="i18n(this)">Split index</span></h2> <div> <p><span data-i18n="5d16538ca69ee3fc75f804cd20b3d0eebc36de09b85d463e83a16ecfc7d6b543/9d" data-source="This mode is designed for repositories with very large indexes, and aims at reducing the time it takes to repeatedly write these indexes." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &rcy;&iecy;&zhcy;&icy;&mcy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &dcy;&lcy;&yacy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy; &scy; &ocy;&chcy;&iecy;&ncy;&softcy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&mcy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;&mcy;&icy; &icy; &ncy;&acy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy; &ncy;&acy; &scy;&ocy;&kcy;&rcy;&acy;&shchcy;&iecy;&ncy;&icy;&iecy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&icy;, &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&gcy;&ocy; &dcy;&lcy;&yacy; &mcy;&ncy;&ocy;&gcy;&ocy;&kcy;&rcy;&acy;&tcy;&ncy;&ocy;&jcy; &zcy;&acy;&pcy;&icy;&scy;&icy; &ecy;&tcy;&icy;&khcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ocy;&vcy;.</span></p> <p><span data-i18n="db809df2f0c54dbdf5a847d5cb7d93a73b5b096994d81e7c69a633da7cb79e0d/e5" data-source="In this mode, the index is split into two files, $GIT_DIR/index and $GIT_DIR/sharedindex.&amp;lt;SHA-1&amp;gt;. Changes are accumulated in $GIT_DIR/index, the split index, while the shared index file contains all index entries and stays unchanged." onmousemove="i18n(this)">&Vcy; &ecy;&tcy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy; &ncy;&acy; &dcy;&vcy;&acy; &fcy;&acy;&jcy;&lcy;&acy;: $GIT_DIR/index &icy; $GIT_DIR/sharedindex.&lt;SHA-1&gt;. &Icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &ncy;&acy;&kcy;&acy;&pcy;&lcy;&icy;&vcy;&acy;&yucy;&tcy;&scy;&yacy; &vcy; $GIT_DIR/index, &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ocy;&mcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;, &vcy; &tcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy; &kcy;&acy;&kcy; &ocy;&bcy;&shchcy;&icy;&jcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy; &vcy;&scy;&iecy; &zcy;&acy;&pcy;&icy;&scy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &icy; &ocy;&scy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&ncy;&ycy;&mcy;.</span></p> <p><span data-i18n="a32dc3099f2b65042ad5aad201f4f3549c64d29c62146667d9c63563e63dcec8/c3" data-source="All changes in the split index are pushed back to the shared index file when the number of entries in the split index reaches a level specified by the splitIndex.maxPercentChange config variable (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;)." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&yucy;&tcy;&scy;&yacy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy; &vcy; &fcy;&acy;&jcy;&lcy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;, &kcy;&ocy;&gcy;&dcy;&acy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &zcy;&acy;&pcy;&icy;&scy;&iecy;&jcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &dcy;&ocy;&scy;&tcy;&icy;&gcy;&acy;&iecy;&tcy; &ucy;&rcy;&ocy;&vcy;&ncy;&yacy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &vcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; SplitIndex.maxPercentChange (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ).</span></p> <p><span data-i18n="e725708cfe0bbedbd028c887a5ee79fcf531c55f688c4993796cd2d89d7c2032/68" data-source="Each time a new shared index file is created, the old shared index files are deleted if their modification time is older than what is specified by the splitIndex.sharedIndexExpire config variable (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;)." onmousemove="i18n(this)">&Kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &rcy;&acy;&zcy;, &kcy;&ocy;&gcy;&dcy;&acy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&ocy;&vcy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;, &scy;&tcy;&acy;&rcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &vcy;&rcy;&iecy;&mcy;&yacy; &icy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &scy;&tcy;&acy;&rcy;&shcy;&iecy;, &chcy;&iecy;&mcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy; &vcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; SplitIndex.sharedIndexExpire (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ).</span></p> <p><span data-i18n="7980f4a3ff6abf1460e823cb31b2c43448b120ed2718e4cecb4dbe99a2738019/88" data-source="To avoid deleting a shared index file that is still used, its modification time is updated to the current time every time a new split index based on the shared index file is either created or read from." onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &icy;&zcy;&bcy;&iecy;&zhcy;&acy;&tcy;&softcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&acy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&scy;&iecy; &iecy;&shchcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy;, &vcy;&rcy;&iecy;&mcy;&yacy; &iecy;&gcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &dcy;&ocy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&gcy;&ocy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&icy; &kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &rcy;&acy;&zcy;, &kcy;&ocy;&gcy;&dcy;&acy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&lcy;&icy; &scy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&ocy;&vcy;&ycy;&jcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &fcy;&acy;&jcy;&lcy;&acy; &ocy;&bcy;&shchcy;&iecy;&gcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_untracked_cache"><span data-i18n="de09429e8632d86aeeda311c3e0a08d451def65bdee618cf768048686f8611b5/21" data-source="Untracked cache" onmousemove="i18n(this)">Untracked cache</span></h2> <div> <p><span data-i18n="599f42a06f057e8c487be24c5937d483f75d7eb9b5008bb0d7df3ae610cd22fb/cb" data-source="This cache is meant to speed up commands that involve determining untracked files such as &lt;code&gt;git status&lt;/code&gt;." onmousemove="i18n(this)">&Ecy;&tcy;&ocy;&tcy; &kcy;&iecy;&shcy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &dcy;&lcy;&yacy; &ucy;&scy;&kcy;&ocy;&rcy;&iecy;&ncy;&icy;&yacy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;, &pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&yucy;&shchcy;&icy;&khcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&iecy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;, &tcy;&acy;&kcy;&icy;&khcy; &kcy;&acy;&kcy;  <code>git status</code> .</span></p> <p><span data-i18n="787c16aaa9689b1d854d697d3c734f5130c5f56a0b642b05b501cc0f41a43ec8/a2" data-source="This feature works by recording the mtime of the working tree directories and then omitting reading directories and stat calls against files in those directories whose mtime hasn&amp;rsquo;t changed. For this to work the underlying operating system and file system must change the &lt;code&gt;st_mtime&lt;/code&gt; field of directories if files in the directory are added, modified or deleted." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yacy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &pcy;&ucy;&tcy;&iecy;&mcy; &zcy;&acy;&pcy;&icy;&scy;&icy; &vcy;&rcy;&iecy;&mcy;&iecy;&ncy;&icy; mtime &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy; &chcy;&tcy;&iecy;&ncy;&icy;&yacy; &icy; &vcy;&ycy;&zcy;&ocy;&vcy;&ocy;&vcy; &scy;&tcy;&acy;&tcy;&icy;&scy;&tcy;&icy;&kcy;&icy; &dcy;&lcy;&yacy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy; &tcy;&iecy;&khcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&khcy;, &vcy;&rcy;&iecy;&mcy;&yacy; mtime &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &ncy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&lcy;&ocy;&scy;&softcy;. &CHcy;&tcy;&ocy;&bcy;&ycy; &ecy;&tcy;&ocy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&lcy;&ocy;, &bcy;&acy;&zcy;&ocy;&vcy;&acy;&yacy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&ocy;&ncy;&ncy;&acy;&yacy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&acy; &icy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&acy;&yacy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&acy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy;  <code>st_mtime</code> , &iecy;&scy;&lcy;&icy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;, &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy; &icy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;.</span></p> <p><span data-i18n="291d3fdcc27508a1a72ec3c74007abc4b29e82e6000f9af1f865e39937138784/c6" data-source="You can test whether the filesystem supports that with the &lt;code&gt;--test-untracked-cache&lt;/code&gt; option. The &lt;code&gt;--untracked-cache&lt;/code&gt; option used to implicitly perform that test in older versions of Git, but that&amp;rsquo;s no longer the case." onmousemove="i18n(this)">&Vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&icy;&tcy;&softcy;, &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &lcy;&icy; &ecy;&tcy;&ocy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&acy;&yacy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&acy;, &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--test-untracked-cache</code> . &Ocy;&pcy;&tscy;&icy;&yacy;  <code>--untracked-cache</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&lcy;&acy;&scy;&softcy; &dcy;&lcy;&yacy; &ncy;&iecy;&yacy;&vcy;&ncy;&ocy;&gcy;&ocy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &tcy;&iecy;&scy;&tcy;&acy; &vcy; &scy;&tcy;&acy;&rcy;&ycy;&khcy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;&khcy; Git, &ncy;&ocy; &ecy;&tcy;&ocy; &ucy;&zhcy;&iecy; &ncy;&iecy; &tcy;&acy;&kcy;.</span></p> <p><span data-i18n="e416425f0ed1a575c18d73adbfd15b61e5144c937ba6021e19e674a81d7733ae/b8" data-source="If you want to enable (or disable) this feature, it is easier to use the &lt;code&gt;core.untrackedCache&lt;/code&gt; configuration variable (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;) than using the &lt;code&gt;--untracked-cache&lt;/code&gt; option to &lt;code&gt;git update-index&lt;/code&gt; in each repository, especially if you want to do so across all repositories you use, because you can set the configuration variable to &lt;code&gt;true&lt;/code&gt; (or &lt;code&gt;false&lt;/code&gt;) in your &lt;code&gt;$HOME/.gitconfig&lt;/code&gt; just once and have it affect all repositories you touch." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; (&icy;&lcy;&icy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy;) &ecy;&tcy;&ucy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yucy;, &pcy;&rcy;&ocy;&shchcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.untrackedCache</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ), &chcy;&iecy;&mcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--untracked-cache</code>  &dcy;&lcy;&yacy;  <code>git update-index</code>  &vcy; &kcy;&acy;&zhcy;&dcy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &ocy;&scy;&ocy;&bcy;&iecy;&ncy;&ncy;&ocy; &iecy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&khcy; &vcy;&acy;&mcy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>true</code>  (&icy;&lcy;&icy;  <code>false</code> ) &vcy; &vcy;&acy;&shcy;&iecy;&mcy;  <code>$HOME/.gitconfig</code>  &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&dcy;&icy;&ncy; &rcy;&acy;&zcy;, &icy; &ocy;&ncy;&acy; &pcy;&ocy;&vcy;&lcy;&icy;&yacy;&iecy;&tcy; &ncy;&acy; &vcy;&scy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &kcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &vcy;&ycy; &ocy;&bcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy;&iecy;&scy;&softcy;.</span></p> <p><span data-i18n="aa41280dd272debe81a2ea4a506de496c45a00da02aa2ac5b19a896d089b4966/82" data-source="When the &lt;code&gt;core.untrackedCache&lt;/code&gt; configuration variable is changed, the untracked cache is added to or removed from the index the next time a command reads the index; while when &lt;code&gt;--[no-|force-]untracked-cache&lt;/code&gt; are used, the untracked cache is immediately added to or removed from the index." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.untrackedCache</code>  &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&jcy; &kcy;&ecy;&shcy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &icy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy;&zcy; &ncy;&iecy;&gcy;&ocy; &pcy;&rcy;&icy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &chcy;&tcy;&iecy;&ncy;&icy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ocy;&jcy;; &tcy;&ocy;&gcy;&dcy;&acy; &kcy;&acy;&kcy; &pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;  <code>--[no-|force-]untracked-cache</code>  &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&jcy; &kcy;&iecy;&shcy; &ncy;&iecy;&mcy;&iecy;&dcy;&lcy;&iecy;&ncy;&ncy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &icy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy;&zcy; &ncy;&iecy;&gcy;&ocy;.</span></p> <p><span data-i18n="03354f668cc07fc5d5215af95c999a4ca0fd4bc3ac6a8af96975ca4b93582eb6/cc" data-source="Before 2.17, the untracked cache had a bug where replacing a directory with a symlink to another directory could cause it to incorrectly show files tracked by git as untracked. See the &amp;quot;status: add a failing test showing a core.untrackedCache bug&amp;quot; commit to git.git. A workaround for that is (and this might work for other undiscovered bugs in the future):" onmousemove="i18n(this)">&Dcy;&ocy; &vcy;&iecy;&rcy;&scy;&icy;&icy; 2.17 &vcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ocy;&mcy; &kcy;&iecy;&shcy;&iecy; &bcy;&ycy;&lcy;&acy; &ocy;&shcy;&icy;&bcy;&kcy;&acy;, &icy;&zcy;-&zcy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &zcy;&acy;&mcy;&iecy;&ncy;&acy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&ocy;&jcy; &ncy;&acy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &mcy;&ocy;&gcy;&lcy;&acy; &pcy;&rcy;&icy;&vcy;&iecy;&scy;&tcy;&icy; &kcy; &ncy;&iecy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ocy;&mcy;&ucy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yucy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;, &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&khcy;  git , &kcy;&acy;&kcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&khcy;. &Scy;&mcy;. &kcy;&ocy;&mcy;&mcy;&icy;&tcy;  &quot;status: add a failing test showing a core.untrackedCache bug&quot;  &vcy;  git .  git . &Ocy;&bcy;&khcy;&ocy;&dcy;&ncy;&ocy;&jcy; &pcy;&ucy;&tcy;&softcy; &dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; (&icy; &ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &scy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &ncy;&iecy;&ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&ncy;&ycy;&khcy; &ocy;&shcy;&icy;&bcy;&ocy;&kcy; &vcy; &bcy;&ucy;&dcy;&ucy;&shchcy;&iecy;&mcy;):</span></p> <div> <div> <pre class="hljs language-lua">$ git -c core.untrackedCache=<span class="hljs-literal">false</span> <span class="hljs-built_in">status</span></pre> </div> </div> <p><span data-i18n="5deaab8df9d1b60648d242c04aa6cadc4581e9bbc33f420a17422c44ec8879d4/d4" data-source="This bug has also been shown to affect non-symlink cases of replacing a directory with a file when it comes to the internal structures of the untracked cache, but no case has been reported where this resulted in wrong &amp;quot;git status&amp;quot; output." onmousemove="i18n(this)">&Tcy;&acy;&kcy;&zhcy;&iecy; &bcy;&ycy;&lcy;&ocy; &pcy;&ocy;&kcy;&acy;&zcy;&acy;&ncy;&ocy;, &chcy;&tcy;&ocy; &ecy;&tcy;&acy; &ocy;&shcy;&icy;&bcy;&kcy;&acy; &zcy;&acy;&tcy;&rcy;&acy;&gcy;&icy;&vcy;&acy;&iecy;&tcy; &scy;&lcy;&ucy;&chcy;&acy;&icy; &zcy;&acy;&mcy;&iecy;&ncy;&ycy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &fcy;&acy;&jcy;&lcy;&ocy;&mcy;, &ncy;&iecy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &scy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&mcy;&icy; &scy;&scy;&ycy;&lcy;&kcy;&acy;&mcy;&icy;, &kcy;&ocy;&gcy;&dcy;&acy; &rcy;&iecy;&chcy;&softcy; &icy;&dcy;&iecy;&tcy; &ocy; &vcy;&ncy;&ucy;&tcy;&rcy;&iecy;&ncy;&ncy;&icy;&khcy; &scy;&tcy;&rcy;&ucy;&kcy;&tcy;&ucy;&rcy;&acy;&khcy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ocy;&gcy;&ocy; &kcy;&ecy;&shcy;&acy;, &ncy;&ocy; &ncy;&iecy; &bcy;&ycy;&lcy;&ocy; &zcy;&acy;&rcy;&iecy;&gcy;&icy;&scy;&tcy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ocy; &ncy;&icy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &scy;&lcy;&ucy;&chcy;&acy;&yacy;, &kcy;&ocy;&gcy;&dcy;&acy; &ecy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&lcy;&ocy; &kcy; &ncy;&iecy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ocy;&mcy;&ucy; &vcy;&ycy;&vcy;&ocy;&dcy;&ucy;  &quot;git status&quot; .</span></p> <p><span data-i18n="bcfc8b33d93ae3e3b1c0d8f72bd435f4cfe957eac6eab9123c01811f428805a1/a1" data-source="There are also cases where existing indexes written by git versions before 2.17 will reference directories that don&amp;rsquo;t exist anymore, potentially causing many &amp;quot;could not open directory&amp;quot; warnings to be printed on &amp;quot;git status&amp;quot;. These are new warnings for existing issues that were previously silently discarded." onmousemove="i18n(this)">&Tcy;&acy;&kcy;&zhcy;&iecy; &bcy;&ycy;&vcy;&acy;&yucy;&tcy; &scy;&lcy;&ucy;&chcy;&acy;&icy;, &kcy;&ocy;&gcy;&dcy;&acy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ycy;, &ncy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy;&iecy;&rcy;&scy;&icy;&yacy;&mcy;&icy;  git  &dcy;&ocy; 2.17, &bcy;&ucy;&dcy;&ucy;&tcy; &scy;&scy;&ycy;&lcy;&acy;&tcy;&softcy;&scy;&yacy; &ncy;&acy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy; &ncy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy;, &chcy;&tcy;&ocy; &pcy;&ocy;&tcy;&iecy;&ncy;&tscy;&icy;&acy;&lcy;&softcy;&ncy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&icy;&vcy;&iecy;&scy;&tcy;&icy; &kcy; &pcy;&iecy;&chcy;&acy;&tcy;&icy; &mcy;&ncy;&ocy;&zhcy;&iecy;&scy;&tcy;&vcy;&acy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&jcy;  &quot;could not open directory&quot;  &ncy;&acy;  &quot;git status&quot; . &Ecy;&tcy;&ocy; &ncy;&ocy;&vcy;&ycy;&iecy; &pcy;&rcy;&iecy;&dcy;&ucy;&pcy;&rcy;&iecy;&zhcy;&dcy;&iecy;&ncy;&icy;&yacy; &ocy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&khcy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;&acy;&khcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &rcy;&acy;&ncy;&iecy;&iecy; &mcy;&ocy;&lcy;&chcy;&acy; &ocy;&tcy;&bcy;&rcy;&acy;&scy;&ycy;&vcy;&acy;&lcy;&icy;&scy;&softcy;.</span></p> <p><span data-i18n="c148ec8bd4c4413d341a37c93b5256acf3ba757d29877b1a46b0e28769bc1616/d5" data-source="As with the bug described above the solution is to one-off do a &amp;quot;git status&amp;quot; run with &lt;code&gt;core.untrackedCache=false&lt;/code&gt; to flush out the leftover bad data." onmousemove="i18n(this)">&Kcy;&acy;&kcy; &icy; &vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &scy; &ocy;&shcy;&icy;&bcy;&kcy;&ocy;&jcy;, &ocy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ocy;&jcy; &vcy;&ycy;&shcy;&iecy;, &rcy;&iecy;&shcy;&iecy;&ncy;&icy;&iecy; &scy;&ocy;&scy;&tcy;&ocy;&icy;&tcy; &vcy; &tcy;&ocy;&mcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &iecy;&dcy;&icy;&ncy;&ocy;&rcy;&acy;&zcy;&ocy;&vcy;&ocy; &zcy;&acy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy;  &quot;git status&quot;  &scy;  <code>core.untrackedCache=false</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&dcy;&acy;&lcy;&icy;&tcy;&softcy; &ocy;&scy;&tcy;&acy;&vcy;&shcy;&icy;&iecy;&scy;&yacy; &ncy;&iecy;&vcy;&iecy;&rcy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_file_system_monitor"><span data-i18n="bd63228bb42539e8ab0a97e02e20ee840d0bdb4c8518d9fd102dc8604d208cef/8c" data-source="File system monitor" onmousemove="i18n(this)">&Mcy;&ocy;&ncy;&icy;&tcy;&ocy;&rcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy;</span></h2> <div> <p><span data-i18n="b61c6d43cd10db726a3becf37388ac1dafb8d053d98be995325ab3c6e56e0e63/28" data-source="This feature is intended to speed up git operations for repos that have large working directories." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yacy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy;&acy; &dcy;&lcy;&yacy; &ucy;&scy;&kcy;&ocy;&rcy;&iecy;&ncy;&icy;&yacy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&jcy;  git  &dcy;&lcy;&yacy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy; &scy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&mcy;&icy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&mcy;&icy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;&mcy;&icy;.</span></p> <p><span data-i18n="e47776f6d1cca31f0d39cddb5b15b6711543db10aa1a11c2a17e8f00bf3444a5/25" data-source="It enables git to work together with a file system monitor (see &lt;a href=&quot;git-fsmonitor--daemon&quot;&gt;git-fsmonitor--daemon[1]&lt;/a&gt; and the &amp;quot;fsmonitor-watchman&amp;quot; section of &lt;a href=&quot;githooks&quot;&gt;githooks[5]&lt;/a&gt;) that can inform it as to what files have been modified. This enables git to avoid having to lstat() every file to find modified files." onmousemove="i18n(this)">&Ecy;&tcy;&ocy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy;  git  &rcy;&acy;&bcy;&ocy;&tcy;&acy;&tcy;&softcy; &vcy;&mcy;&iecy;&scy;&tcy;&iecy; &scy; &mcy;&ocy;&ncy;&icy;&tcy;&ocy;&rcy;&ocy;&mcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy; (&scy;&mcy;.  <a href="git-fsmonitor--daemon.html">git-fsmonitor--daemon[1]</a>  &icy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;  &quot;fsmonitor-watchman&quot;  &vcy;  <a href="githooks.html">githooks[5]</a> ), &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &iecy;&gcy;&ocy; &ocy; &tcy;&ocy;&mcy;, &kcy;&acy;&kcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &bcy;&ycy;&lcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ycy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy;  git  &icy;&zcy;&bcy;&iecy;&zhcy;&acy;&tcy;&softcy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy;&scy;&tcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; lstat() &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy; &dcy;&lcy;&yacy; &pcy;&ocy;&icy;&scy;&kcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;.</span></p> <p><span data-i18n="2322619a036bbab8974f5997721b3c804228c43c48472cf4d3a5c758480939c6/6f" data-source="When used in conjunction with the untracked cache, it can further improve performance by avoiding the cost of scanning the entire working directory looking for new files." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &vcy; &scy;&ocy;&chcy;&iecy;&tcy;&acy;&ncy;&icy;&icy; &scy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&mcy; &kcy;&iecy;&shcy;&iecy;&mcy; &ocy;&ncy; &mcy;&ocy;&zhcy;&iecy;&tcy; &iecy;&shchcy;&iecy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy; &pcy;&ocy;&vcy;&ycy;&scy;&icy;&tcy;&softcy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&softcy;, &icy;&zcy;&bcy;&iecy;&gcy;&acy;&yacy; &zcy;&acy;&tcy;&rcy;&acy;&tcy; &ncy;&acy; &scy;&kcy;&acy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &vcy;&scy;&iecy;&gcy;&ocy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &vcy; &pcy;&ocy;&icy;&scy;&kcy;&acy;&khcy; &ncy;&ocy;&vcy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;.</span></p> <p><span data-i18n="875e758dd4db33f75692ebc85057416a3a42c938001d9657df99326a3e30b0e5/1f" data-source="If you want to enable (or disable) this feature, it is easier to use the &lt;code&gt;core.fsmonitor&lt;/code&gt; configuration variable (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;) than using the &lt;code&gt;--fsmonitor&lt;/code&gt; option to &lt;code&gt;git
update-index&lt;/code&gt; in each repository, especially if you want to do so across all repositories you use, because you can set the configuration variable in your &lt;code&gt;$HOME/.gitconfig&lt;/code&gt; just once and have it affect all repositories you touch." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; (&icy;&lcy;&icy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy;) &ecy;&tcy;&ucy; &fcy;&ucy;&ncy;&kcy;&tscy;&icy;&yucy;, &pcy;&rcy;&ocy;&shchcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.fsmonitor</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ), &chcy;&iecy;&mcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--fsmonitor</code>  &dcy;&lcy;&yacy;  <code>git
update-index</code>  &vcy; &kcy;&acy;&zhcy;&dcy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &ocy;&scy;&ocy;&bcy;&iecy;&ncy;&ncy;&ocy; &iecy;&scy;&lcy;&icy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &scy;&dcy;&iecy;&lcy;&acy;&tcy;&softcy; &ecy;&tcy;&ocy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&khcy; &vcy;&acy;&mcy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &vcy; &scy;&vcy;&ocy;&iecy;&mcy;  <code>$HOME/.gitconfig</code>  &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&dcy;&icy;&ncy; &rcy;&acy;&zcy;, &icy; &ocy;&ncy;&acy; &pcy;&ocy;&vcy;&lcy;&icy;&yacy;&iecy;&tcy; &ncy;&acy; &vcy;&scy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;, &kcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&mcy; &vcy;&ycy; &ocy;&bcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy;&iecy;&scy;&softcy;.</span></p> <p><span data-i18n="5e59abf1f388e54c4092ff9bb46c79b8022edb8f8e947aa9125c190fbc7a749f/2d" data-source="When the &lt;code&gt;core.fsmonitor&lt;/code&gt; configuration variable is changed, the file system monitor is added to or removed from the index the next time a command reads the index. When &lt;code&gt;--[no-]fsmonitor&lt;/code&gt; are used, the file system monitor is immediately added to or removed from the index." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.fsmonitor</code>  &mcy;&ocy;&ncy;&icy;&tcy;&ocy;&rcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &icy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy;&zcy; &ncy;&iecy;&gcy;&ocy; &pcy;&rcy;&icy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &chcy;&tcy;&iecy;&ncy;&icy;&icy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ocy;&jcy;. &Pcy;&rcy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy;  <code>--[no-]fsmonitor</code>  &mcy;&ocy;&ncy;&icy;&tcy;&ocy;&rcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy; &ncy;&iecy;&mcy;&iecy;&dcy;&lcy;&iecy;&ncy;&ncy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy; &icy;&lcy;&icy; &ucy;&dcy;&acy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy;&zcy; &ncy;&iecy;&gcy;&ocy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_configuration"><span data-i18n="b332c3492d5eb10a118eb6d8b0dcd689bc2477ce2ae16b303753b942b54377bc/aa" data-source="Configuration" onmousemove="i18n(this)">Configuration</span></h2> <div> <p><span data-i18n="61c2cfa8591ede2c7d9f9247f2fe4d4b67e513cb4c0650111d502b41613dc62e/a4" data-source="The command honors &lt;code&gt;core.filemode&lt;/code&gt; configuration variable. If your repository is on a filesystem whose executable bits are unreliable, this should be set to &lt;code&gt;false&lt;/code&gt; (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;). This causes the command to ignore differences in file modes recorded in the index and the file mode on the filesystem if they differ only on executable bit. On such an unfortunate filesystem, you may need to use &lt;code&gt;git update-index --chmod=&lt;/code&gt;." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &ucy;&chcy;&icy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.filemode</code> . &IEcy;&scy;&lcy;&icy; &vcy;&acy;&shcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &vcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&iecy;, &icy;&scy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&mcy;&ycy;&iecy; &bcy;&icy;&tcy;&ycy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &ncy;&iecy;&ncy;&acy;&dcy;&iecy;&zhcy;&ncy;&ycy;, &dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>false</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ). &Ecy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&tcy; &kcy; &tcy;&ocy;&mcy;&ucy;, &chcy;&tcy;&ocy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&tcy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&icy;&yacy; &vcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ycy;&khcy; &rcy;&iecy;&zhcy;&icy;&mcy;&acy;&khcy;, &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&khcy; &vcy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&iecy;, &icy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&mcy; &rcy;&iecy;&zhcy;&icy;&mcy;&iecy; &vcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&iecy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&icy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&acy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&mcy;&ycy;&mcy; &bcy;&icy;&tcy;&ocy;&mcy;. &Vcy; &tcy;&acy;&kcy;&ocy;&jcy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&ncy;&ocy;&jcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&iecy; &vcy;&acy;&mcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&ocy;&tcy;&rcy;&iecy;&bcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  <code>git update-index --chmod=</code> .</span></p> <p><span data-i18n="bce5c1b3a851b88a82c0676ec89de944674157e87b58a4525ece50c2ae00aa5a/9e" data-source="Quite similarly, if &lt;code&gt;core.symlinks&lt;/code&gt; configuration variable is set to &lt;code&gt;false&lt;/code&gt; (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;), symbolic links are checked out as plain files, and this command does not modify a recorded file mode from symbolic link to regular file." onmousemove="i18n(this)">&Acy;&ncy;&acy;&lcy;&ocy;&gcy;&icy;&chcy;&ncy;&ocy;, &iecy;&scy;&lcy;&icy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.symlinks</code>  &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>false</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ), &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&iecy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &icy;&zcy;&vcy;&lcy;&iecy;&kcy;&acy;&yucy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &pcy;&rcy;&ocy;&scy;&tcy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &icy; &ecy;&tcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &ncy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy; &rcy;&iecy;&zhcy;&icy;&mcy; &zcy;&acy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &fcy;&acy;&jcy;&lcy;&acy; &scy; &scy;&icy;&mcy;&vcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&jcy; &scy;&scy;&ycy;&lcy;&kcy;&icy; &ncy;&acy; &ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy;.</span></p> <p><span data-i18n="7d69189ac6f653daa1ac55a016c6f596a636f5e77c97ccc8e8394fe32f6f0a30/eb" data-source="The command looks at &lt;code&gt;core.ignorestat&lt;/code&gt; configuration variable. See &lt;code&gt;Using &amp;quot;assume unchanged&amp;quot; bit&lt;/code&gt; section above." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.ignorestat</code> . &Scy;&mcy;. &rcy;&acy;&zcy;&dcy;&iecy;&lcy;  <code>Using &quot;assume unchanged&quot; bit</code>  &vcy;&ycy;&shcy;&iecy;.</span></p> <p><span data-i18n="25635996943695ba03220cc302878c365f419074e63747c692aad1a49ebce3da/2d" data-source="The command also looks at &lt;code&gt;core.trustctime&lt;/code&gt; configuration variable. It can be useful when the inode change time is regularly modified by something outside Git (file system crawlers and backup systems use ctime for marking files processed) (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;)." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &tcy;&acy;&kcy;&zhcy;&iecy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.trustctime</code> . &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;, &kcy;&ocy;&gcy;&dcy;&acy; &vcy;&rcy;&iecy;&mcy;&yacy; &scy;&mcy;&iecy;&ncy;&ycy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ncy;&ocy;&gcy;&ocy; &dcy;&iecy;&scy;&kcy;&rcy;&icy;&pcy;&tcy;&ocy;&rcy;&acy; &rcy;&iecy;&gcy;&ucy;&lcy;&yacy;&rcy;&ncy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &chcy;&iecy;&mcy;-&tcy;&ocy; &vcy;&ncy;&iecy;  Git  (&scy;&kcy;&acy;&ncy;&iecy;&rcy;&ycy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ycy;&khcy; &scy;&icy;&scy;&tcy;&iecy;&mcy; &icy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy; &rcy;&iecy;&zcy;&iecy;&rcy;&vcy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy; ctime &dcy;&lcy;&yacy; &mcy;&acy;&rcy;&kcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &kcy;&acy;&kcy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ncy;&ycy;&khcy;) (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ).</span></p> <p><span data-i18n="d43a1f18df21440096761b123bf763e5d2c32be8b16c00d888d81d7c3870b123/8a" data-source="The untracked cache extension can be enabled by the &lt;code&gt;core.untrackedCache&lt;/code&gt; configuration variable (see &lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;)." onmousemove="i18n(this)">&Rcy;&acy;&scy;&shcy;&icy;&rcy;&iecy;&ncy;&icy;&iecy; &ncy;&iecy;&ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ocy;&gcy;&ocy; &kcy;&ecy;&shcy;&acy; &mcy;&ocy;&zhcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  <code>core.untrackedCache</code>  (&scy;&mcy;.  <a href="git-config.html">git-config[1]</a> ).</span></p> </div> <h2 class="text-body-emphasis"  id="_notes"><span data-i18n="8a7525b1492fb84833f5c4a69b30f4bfbb134f9b666b61a2c1872d63d234c085/bb" data-source="Notes" onmousemove="i18n(this)">Notes</span></h2> <div> <p><span data-i18n="f3a9eefb696c94454e96b564354bdff0e8adcc5c0aea1d171f04fa59fe63d6bb/95" data-source="Users often try to use the assume-unchanged and skip-worktree bits to tell Git to ignore changes to files that are tracked. This does not work as expected, since Git may still check working tree files against the index when performing certain operations. In general, Git does not provide a way to ignore changes to tracked files, so alternate solutions are recommended." onmousemove="i18n(this)">&Pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&icy; &chcy;&acy;&scy;&tcy;&ocy; &pcy;&ycy;&tcy;&acy;&yucy;&tcy;&scy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &bcy;&icy;&tcy;&ycy; &laquo;&pcy;&rcy;&iecy;&dcy;&pcy;&ocy;&lcy;&acy;&gcy;&acy;&tcy;&softcy; &ncy;&iecy;&icy;&zcy;&mcy;&iecy;&ncy;&ncy;&ocy;&scy;&tcy;&softcy;&raquo; &icy; &laquo;&pcy;&rcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy;&raquo;, &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy;  Git  &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy;. &Ecy;&tcy;&ocy; &ncy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&acy;&iecy;&tcy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy;  Git  &vcy;&scy;&iecy; &rcy;&acy;&vcy;&ncy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&gcy;&ocy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &pcy;&ocy; &icy;&ncy;&dcy;&iecy;&kcy;&scy;&ucy; &pcy;&rcy;&icy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&icy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&jcy;. &Vcy; &ocy;&bcy;&shchcy;&iecy;&mcy;,  Git  &ncy;&iecy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;&scy;&tcy;&icy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&iecy;&mcy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&acy;&khcy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &rcy;&iecy;&kcy;&ocy;&mcy;&iecy;&ncy;&dcy;&ucy;&iecy;&tcy;&scy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &acy;&lcy;&softcy;&tcy;&iecy;&rcy;&ncy;&acy;&tcy;&icy;&vcy;&ncy;&ycy;&iecy; &rcy;&iecy;&shcy;&iecy;&ncy;&icy;&yacy;.</span></p> <p><span data-i18n="f205fae9f9df272a68a3b5d9508d879b580aa219d10e12d7f85970299b39c40d/2f" data-source="For example, if the file you want to change is some sort of config file, the repository can include a sample config file that can then be copied into the ignored name and modified. The repository can even include a script to treat the sample file as a template, modifying and copying it automatically." onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &iecy;&scy;&lcy;&icy; &fcy;&acy;&jcy;&lcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &vcy;&ycy; &khcy;&ocy;&tcy;&icy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy;, &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&ocy;&bcy;&ocy;&jcy; &kcy;&acy;&kcy;&ocy;&jcy;-&tcy;&ocy; &fcy;&acy;&jcy;&lcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;, &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&tcy;&softcy; &ocy;&bcy;&rcy;&acy;&zcy;&iecy;&tscy; &fcy;&acy;&jcy;&lcy;&acy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &zcy;&acy;&tcy;&iecy;&mcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &scy;&kcy;&ocy;&pcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ucy;&iecy;&mcy;&ocy;&iecy; &icy;&mcy;&yacy; &icy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy;. &Rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &dcy;&acy;&zhcy;&iecy; &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&tcy;&softcy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &bcy;&ucy;&dcy;&iecy;&tcy; &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&acy; &kcy;&acy;&kcy; &shcy;&acy;&bcy;&lcy;&ocy;&ncy;, &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&yacy;&yacy; &icy; &kcy;&ocy;&pcy;&icy;&rcy;&ucy;&yacy; &iecy;&gcy;&ocy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_see_also"><span data-i18n="2fa97693b70fa87b95b2d1bdf9558e4ac65d5e82d145f13a03849c4d9c4957a9/40" data-source="See also" onmousemove="i18n(this)">See also</span></h2> <div> <p><span data-i18n="789686a0e4146c18170c2d9ab47d2e0c6ed76c7ad22ddc11ad5c247c34380dcd/3b" data-source="&lt;a href=&quot;git-config&quot;&gt;git-config[1]&lt;/a&gt;, &lt;a href=&quot;git-add&quot;&gt;git-add[1]&lt;/a&gt;, &lt;a href=&quot;git-ls-files&quot;&gt;git-ls-files[1]&lt;/a&gt;" onmousemove="i18n(this)"><a href="git-config.html">git-config[1]</a> ,  <a href="git-add.html">git-add[1]</a> ,  <a href="git-ls-files.html">git-ls-files[1]</a></span></p> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-update-index">https://git-scm.com/docs/git-update-index</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                            <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-update-ref.html">
                            git update-ref                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-update-server-info.html">
                            git update-server-info                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-upload-archive.html">
                            git upload-archive                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-upload-pack.html">
                            git upload-pack                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-var.html">
                            git var                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-verify-commit.html">
                            git verify-commit                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-verify-pack.html">
                            git verify-pack                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                   <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-update-index.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>